monit-dev
[Top][All Lists]
Advanced

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

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


From: monit
Subject: [monit-dev] [monit] r210 committed - [No log message]
Date: Mon, 26 Jul 2010 16:32:53 +0000

Revision: 210
Author: martin2812
Date: Mon Jul 26 09:32:06 2010
Log: [No log message]
http://code.google.com/p/monit/source/detail?r=210

Modified:
 /trunk/monitor.c

=======================================
--- /trunk/monitor.c    Mon Apr 26 10:00:14 2010
+++ /trunk/monitor.c    Mon Jul 26 09:32:06 2010
@@ -722,7 +722,6 @@
   sigset_t ns;
   struct timespec wait;

-  wait.tv_nsec = 0;
   set_signal_block(&ns, NULL);
   LogInfo("M/Monit heartbeat started\n");
   LOCK(heartbeatMutex)
@@ -733,6 +732,7 @@
         wait.tv_sec = time(NULL) + Run.polltime;
       else
         wait.tv_sec = time(NULL) + 1;
+      wait.tv_nsec = 0;
       pthread_cond_timedwait(&heartbeatCond, &heartbeatMutex, &wait);
     }
   }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]