fixed incorrect export records for events
authorVictor Kirhenshtein <victor@netxms.org>
Thu, 12 May 2016 20:36:39 +0000 (23:36 +0300)
committerVictor Kirhenshtein <victor@netxms.org>
Thu, 12 May 2016 20:36:39 +0000 (23:36 +0300)
src/server/core/events.cpp

index 1f77bb4..c89676a 100644 (file)
@@ -1166,8 +1166,8 @@ void CreateNXMPEventRecord(String &str, UINT32 eventCode)
    {
       str.appendFormattedString(_T("\t\t<event id=\"%d\">\n")
                              _T("\t\t\t<name>%s</name>\n")
+                             _T("\t\t\t<guid>%s</guid>\n")
                              _T("\t\t\t<code>%d</code>\n")
-                             _T("\t\t\t<guid>%d</guid>\n")
                              _T("\t\t\t<severity>%d</severity>\n")
                              _T("\t\t\t<flags>%d</flags>\n")
                              _T("\t\t\t<message>%s</message>\n")