[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [hobbit] Hobbit 4.2.0 failing to start properly



ack, posted the wrong patch (accidentally dumped the buffer of the
allinone), sorry. shoulda been:
 
--- hobbitd/hobbitd.c 2007/04/11 21:58:28 1.263
+++ hobbitd/hobbitd.c 2007/04/11 22:11:17
@@ -2178,7 +2178,6 @@
   switch (f_type) {
     case F_ACKMSG: if (lwalk->ackmsg) needed +=
2*strlen(lwalk->ackmsg); break;
     case F_DISMSG: if (lwalk->dismsg) needed +=
2*strlen(lwalk->dismsg); break;
-    case F_MSG: needed += 2*strlen(lwalk->message); break;
 
     case F_ACKLIST:
    flush_acklist(lwalk, 0);
@@ -2194,6 +2193,10 @@
    }
    break;
 
+    case F_MSG:
+    case F_LINE1:
+   needed += 2*strlen(lwalk->message); break;
+
     default: break;
   }
  }