From aa70fc02878fbb2c1206f85c0272c509c58e2303 Mon Sep 17 00:00:00 2001 From: ramonn Date: Thu, 24 Jul 2008 07:56:14 +0000 Subject: [PATCH] 2008-07-24 Ramon Novoa * win32/windows/pandora_wmi.cc: Fixed WMI query timestamp limit for log events. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@971 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_agents/ChangeLog | 5 +++++ pandora_agents/win32/windows/pandora_wmi.cc | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 ""; }