From 970f5148fef14f825d771584f865c1f2f07ac2a3 Mon Sep 17 00:00:00 2001 From: koichirok Date: Wed, 3 Apr 2013 12:17:00 +0000 Subject: [PATCH] 2013-04-03 Koichiro KIKUCHI * windows_service.cc: Fixed typo of my previous commit. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7923 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/win32/ChangeLog | 4 ++++ pandora_agents/win32/windows_service.cc | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/pandora_agents/win32/ChangeLog b/pandora_agents/win32/ChangeLog index f918f53dbc..945daf3636 100644 --- a/pandora_agents/win32/ChangeLog +++ b/pandora_agents/win32/ChangeLog @@ -1,3 +1,7 @@ +2013-04-03 Koichiro KIKUCHI + + * windows_service.cc: Fixed typo of my previous commit. + 2013-04-03 Koichiro KIKUCHI * windows_service.cc: Adjust sleep time so that each iteration *starts" diff --git a/pandora_agents/win32/windows_service.cc b/pandora_agents/win32/windows_service.cc index 7af9190b8b..7fad95033b 100644 --- a/pandora_agents/win32/windows_service.cc +++ b/pandora_agents/win32/windows_service.cc @@ -120,7 +120,7 @@ Windows_Service::execRunFunction () { do { (this->*run_function) (); - if (sleep_time > 0) + if (sleep_time <= 0) break; ticknow = GetTickCount();