[icinga-checkins] icinga.org: icinga2/master: Bugfix: assert in Timer::ProcessTimers.

git at icinga.org git at icinga.org
Fri Feb 8 10:40:09 CET 2013


Module: icinga2
Branch: master
Commit: 7526ee3a9e103110b98f964482c2e19a57a7310a
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=7526ee3a9e103110b98f964482c2e19a57a7310a

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Fri Feb  8 10:39:54 2013 +0100

Bugfix: assert in Timer::ProcessTimers.

---

 lib/base/timer.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/base/timer.cpp b/lib/base/timer.cpp
index 0922323..422b5f6 100644
--- a/lib/base/timer.cpp
+++ b/lib/base/timer.cpp
@@ -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);
 		}
 





More information about the icinga-checkins mailing list