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();