summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_proto.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2019-07-26 20:02:16 +0300
committerGeorge Hazan <ghazan@miranda.im>2019-07-26 20:02:22 +0300
commit9374c8e701dcb61a46c89a854235d91a23bf672e (patch)
treead366bc7f47da578fb33a57c32912689f5aadecb /protocols/JabberG/src/jabber_proto.cpp
parent3c5923d11431c515db57e4e972d53bf0443f1bcb (diff)
warning fixes
Diffstat (limited to 'protocols/JabberG/src/jabber_proto.cpp')
-rwxr-xr-xprotocols/JabberG/src/jabber_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_proto.cpp b/protocols/JabberG/src/jabber_proto.cpp
index ff84776acf..752ae2cda8 100755
--- a/protocols/JabberG/src/jabber_proto.cpp
+++ b/protocols/JabberG/src/jabber_proto.cpp
@@ -739,7 +739,7 @@ HANDLE CJabberProto::SearchByEmail(const wchar_t *email)
ptrA szServerName(getStringA("Jud"));
- LPCSTR jid = szServerName == 0 ? "users.jabber.org" : szServerName;
+ LPCSTR jid = szServerName == 0 ? "users.jabber.org" : szServerName.get();
CJabberIqInfo *pInfo = AddIQ(&CJabberProto::OnIqResultSetSearch, JABBER_IQ_TYPE_SET, jid);
m_ThreadInfo->send(XmlNodeIq(pInfo) << XQUERY("jabber:iq:search") << XCHILD("email", T2Utf(email)));
return (HANDLE)pInfo->GetIqId();