]> granicus.if.org Git - icinga2/commitdiff
Bugfix: assert in Timer::ProcessTimers.
authorGunnar Beutner <gunnar.beutner@netways.de>
Fri, 8 Feb 2013 09:39:54 +0000 (10:39 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Fri, 8 Feb 2013 09:39:54 +0000 (10:39 +0100)
lib/base/timer.cpp

index 0922323bdaf43f0543ceb60083bc6a969e683598..422b5f6d532a614df0d0c068b235f00f098f4795 100644 (file)
@@ -64,7 +64,7 @@ double Timer::ProcessTimers(void)
 
                        double next = now + timer->GetInterval();
 
-                       if (timer->m_Next < now || next < timer->m_Next)
+                       if (timer->m_Next <= now || next < timer->m_Next)
                                timer->Reschedule(next);
                }