diff options
author | Drew Richardson <drew.richardson@arm.com> | 2015-04-28 12:00:00 -0700 |
---|---|---|
committer | Drew Richardson <drew.richardson@arm.com> | 2015-05-05 10:01:23 -0700 |
commit | c2fdcde9f26fff5eebbcc2ab34adb9d4202e0d55 (patch) | |
tree | 31e74c051671f4915ebd3b1a05fe35a12aa41426 /daemon | |
parent | abc3535c0d237bf7968b7092e545f2ff422af954 (diff) |
gator: Version 5.21.15.21.1
Signed-off-by: Drew Richardson <drew.richardson@arm.com>
Diffstat (limited to 'daemon')
-rw-r--r-- | daemon/COPYING (renamed from daemon/LICENSE) | 0 | ||||
-rw-r--r-- | daemon/EventsXML.cpp | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/daemon/LICENSE b/daemon/COPYING index d159169..d159169 100644 --- a/daemon/LICENSE +++ b/daemon/COPYING diff --git a/daemon/EventsXML.cpp b/daemon/EventsXML.cpp index 3fe5ecd..cec08d5 100644 --- a/daemon/EventsXML.cpp +++ b/daemon/EventsXML.cpp @@ -138,7 +138,7 @@ mxml_node_t *EventsXML::getTree() { } // Handle categories - for (mxml_node_t *node = mxmlFindElement(append, append, "category", NULL, NULL, MXML_DESCEND), + for (mxml_node_t *node = strcmp(mxmlGetElement(append), "category") == 0 ? append : mxmlFindElement(append, append, "category", NULL, NULL, MXML_DESCEND), *next = mxmlFindElement(node, append, "category", NULL, NULL, MXML_DESCEND); node != NULL; node = next, next = mxmlFindElement(node, append, "category", NULL, NULL, MXML_DESCEND)) { |