diff --git a/pandora_agents/ChangeLog b/pandora_agents/ChangeLog index 8d5252baa8..50086b084f 100644 --- a/pandora_agents/ChangeLog +++ b/pandora_agents/ChangeLog @@ -1,3 +1,8 @@ +2008-07-24 Ramon Novoa + + * win32/windows/pandora_wmi.cc: Fixed WMI query timestamp limit for + log events. + 2008-07-22 Ramon Novoa * win32/modules/pandora_module.cc: Fixed a bug that made the agent diff --git a/pandora_agents/win32/windows/pandora_wmi.cc b/pandora_agents/win32/windows/pandora_wmi.cc index 83d6ada805..009406f932 100644 --- a/pandora_agents/win32/windows/pandora_wmi.cc +++ b/pandora_agents/win32/windows/pandora_wmi.cc @@ -478,7 +478,7 @@ Pandora_Wmi::getTimestampLimit (int interval) { // Substract the agent interval limit_time_utc -= interval; - limit_tm = localtime (&limit_time_utc); + limit_tm = localtime (&limit_time); if (limit_tm == NULL) { return ""; }