Revision: 319
Author: mmo...@tildeslash.com
Date: Tue Dec 28 16:52:22 2010
Log: [No log message]
http://code.google.com/p/monit/source/detail?r=319

Modified:
 /trunk/p.y

=======================================
--- /trunk/p.y  Tue Dec 28 15:09:18 2010
+++ /trunk/p.y  Tue Dec 28 16:52:22 2010
@@ -1997,10 +1997,12 @@

   check_name(name);

-  if (current)
+  if (current) {
     addservice(current);
-  else
+    memset(current, 0, sizeof(*current));
+  } else {
     NEW(current);
+  }

   current->type = type;


_______________________________________________
monit-dev mailing list
monit-dev@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monit-dev

Reply via email to