Xymon Mailing List Archive search

Hobbit 4.2.0 failing to start properly

list Stephen Menton
Wed, 11 Jun 2008 22:30:10 -0700
Message-Id: <user-cf4ecbe11e2b@xymon.invalid>

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;
   }
  }