summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_xml.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2014-02-18 14:40:43 +0000
committerGeorge Hazan <george.hazan@gmail.com>2014-02-18 14:40:43 +0000
commitcdbdcef6d92500b3b156ea6e304440e82621aa00 (patch)
tree6c6673df2824ae7e83dfa8c2c9b2859388c574b7 /protocols/JabberG/src/jabber_xml.cpp
parent08c2fa14c7ee65003e8e9b59567bb4525d17c28c (diff)
fixes 584
git-svn-id: http://svn.miranda-ng.org/main/trunk@8163 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_xml.cpp')
-rw-r--r--protocols/JabberG/src/jabber_xml.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_xml.cpp b/protocols/JabberG/src/jabber_xml.cpp
index 8596609b47..33dc3eba4a 100644
--- a/protocols/JabberG/src/jabber_xml.cpp
+++ b/protocols/JabberG/src/jabber_xml.cpp
@@ -153,8 +153,8 @@ void __fastcall xmlAddAttr(HXML hXml, LPCTSTR pszName, unsigned __int64 value)
void __fastcall xmlAddAttrID(HXML hXml, int id)
{
- TCHAR text[ 100 ];
- mir_sntprintf(text, SIZEOF(text), _T("mir_%d"), id);
+ TCHAR text[100];
+ mir_sntprintf(text, SIZEOF(text), _T(JABBER_IQID) _T("%d"), id);
xmlAddAttr(hXml, _T("id"), text);
}