2010-10-27 Ramon Novoa <rnovoa@artica.es>

* modules/pandora_module_logevent.cc: We need more information on error
	  997, ignore it for now.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@3469 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
Ramon Novoa 2010-10-27 11:52:07 +00:00
parent 12a0a12e89
commit 76d230a1e6
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-10-27 Ramon Novoa <rnovoa@artica.es>
* modules/pandora_module_logevent.cc: We need more information on error
997, ignore it for now.
2010-10-04 Ramon Novoa <rnovoa@artica.es> 2010-10-04 Ramon Novoa <rnovoa@artica.es>
* windows/pandora_wmi.cc: Fixed inventory NIC information. * windows/pandora_wmi.cc: Fixed inventory NIC information.

View File

@ -174,8 +174,8 @@ Pandora_Module_Logevent::discardLogEvents () {
rc = ReadEventLog(this->log_event, EVENTLOG_FORWARDS_READ | EVENTLOG_SEEK_READ, rc = ReadEventLog(this->log_event, EVENTLOG_FORWARDS_READ | EVENTLOG_SEEK_READ,
newest_event, pevlr, BUFFER_SIZE, &read, &needed); newest_event, pevlr, BUFFER_SIZE, &read, &needed);
// Something went wrong // Something went wrong (we need more information on error 997, ignore it for now)
if (rc != 0) { if (rc != 0 && rc != 997) {
pandoraDebug ("ReadEventLog error %d", GetLastError ()); pandoraDebug ("ReadEventLog error %d", GetLastError ());
} }
} }