Fixed the XPATH query to retrieve log events.

(cherry picked from commit 878e65fa30)
This commit is contained in:
Ramon Novoa 2015-04-20 12:39:58 +02:00
parent 781e24f984
commit 8b9601bab5
1 changed files with 12 additions and 12 deletions

View File

@ -572,7 +572,7 @@ Pandora_Module_Logevent::getEventDescriptionXPATH (PEVENTLOGRECORD pevlr) {
}
// Build the XPATH query
query = "Event/System[EventID=" + inttostr(pevlr->EventID & EVENT_ID_MASK) + "]";
query = "Event/System[EventRecordID=" + inttostr(pevlr->RecordNumber) + "]";
pwsQuery = strAnsiToUnicode (query.c_str());
pwsPath = strAnsiToUnicode (this->source.c_str());