summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_util.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-06-22 15:38:30 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-06-22 15:38:30 +0000
commit937c816460e09bf4da2d4fbf6ca5c4b18346ee19 (patch)
treefaf03f55fc08cfa08a281b858d2cdd75d5058dfd /protocols/JabberG/src/jabber_util.cpp
parent296c88217ab4b2872d8fdada5e8c309dcb50bf24 (diff)
- fix a bug with roster push processing in Jabber;
- cosmetic fixes git-svn-id: http://svn.miranda-ng.org/main/trunk@17016 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/JabberG/src/jabber_util.cpp')
-rw-r--r--protocols/JabberG/src/jabber_util.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_util.cpp b/protocols/JabberG/src/jabber_util.cpp
index ad0e2caf07..8b1f200a44 100644
--- a/protocols/JabberG/src/jabber_util.cpp
+++ b/protocols/JabberG/src/jabber_util.cpp
@@ -58,7 +58,7 @@ MCONTACT CJabberProto::HContactFromJID(const TCHAR *jid, bool bStripResource)
if (bStripResource) {
TCHAR szJid[JABBER_MAX_JID_LEN];
JabberStripJid(jid, szJid, _countof(szJid));
- item = ListGetItemPtr(LIST_ROSTER, jid);
+ item = ListGetItemPtr(LIST_ROSTER, szJid);
if (item != NULL && item->hContact)
return item->hContact;
}