mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 16:55:05 +02:00
Fixed the XPATH query to retrieve log events.
(cherry picked from commit 878e65fa3078ffe26fec5375eec4c21347ebec37)
This commit is contained in:
parent
781e24f984
commit
8b9601bab5
@ -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());
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user