2008-06-18 Ramon Novoa <rnovoa@artica.es>
* win32/modules/pandora_module_logevent.cc: Now returns "empty" data when no data is available. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@876 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b07bfee644
commit
cba2e4d3a0
|
@ -1,3 +1,8 @@
|
|||
2008-06-18 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* win32/modules/pandora_module_logevent.cc: Now returns "empty" data
|
||||
when no data is available.
|
||||
|
||||
2008-06-13 Ramon Novoa <rnovoa@artica.es>
|
||||
|
||||
* win32/bin/PandoraAgent.exe: Updated to r857.
|
||||
|
|
|
@ -52,7 +52,12 @@ Pandora_Module_Logevent::run () {
|
|||
}
|
||||
|
||||
Pandora_Wmi::getEventList (this->source, this->type, this->pattern, this->getInterval (), event_list);
|
||||
|
||||
|
||||
if (event_list.size () < 1) {
|
||||
this->setOutput ("");
|
||||
return;
|
||||
}
|
||||
|
||||
for(event = event_list.begin (); event != event_list.end(); ++event) {
|
||||
this->setOutput (*event);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue