[monit-dev] [monit] r345 committed - [No log message]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[monit-dev] [monit] r345 committed - [No log message]

monit-2
Revision: 345
Author:   [hidden email]
Date:     Wed Mar 23 14:22:06 2011
Log:      [No log message]
http://code.google.com/p/monit/source/detail?r=345

Modified:
  /trunk/event.c
  /trunk/util.c

=======================================
--- /trunk/event.c Wed Jan 19 10:40:32 2011
+++ /trunk/event.c Wed Mar 23 14:22:06 2011
@@ -407,11 +407,10 @@
   * @return An action id
   */
  short Event_get_action(Event_T E) {
-  Action_T A;
+  Action_T A = E->action->failed;

    ASSERT(E);

-  A = E->state ? E->action->failed : E->action->succeeded;
    switch (E->state) {
      case STATE_SUCCEEDED:
      case STATE_CHANGEDNOT:
=======================================
--- /trunk/util.c Wed Mar 23 07:33:11 2011
+++ /trunk/util.c Wed Mar 23 14:22:06 2011
@@ -555,7 +555,7 @@
    }

    if(Run.mmonits) {
-    Mmonit_T c= Run.mmonits;
+    Mmonit_T c;
      printf(" %-18s = ", "M/Monit(s)");
      for(c= Run.mmonits; c; c= c->next) {
        printf("%s with timeout %d seconds%s%s%s%s%s%s",

_______________________________________________
monit-dev mailing list
[hidden email]
http://lists.nongnu.org/mailman/listinfo/monit-dev