summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src/jabber_byte.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-07-23 15:19:44 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-07-23 15:19:52 +0300
commit3562b7632f2f567d5da082438460b953a36ec46b (patch)
tree2ee7c4167f6f8d59338f144546a0db115112a9d3 /protocols/JabberG/src/jabber_byte.cpp
parent69dc1ceb837afec8322da632b3a0184a84a3a8d4 (diff)
Jabber:
- unused function JabberGetPictureType inlined; - fixes #1509 (Miranda receive duplicate incoming messages if contact is not in roster Jabber); - code cleaning;
Diffstat (limited to 'protocols/JabberG/src/jabber_byte.cpp')
-rw-r--r--protocols/JabberG/src/jabber_byte.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/JabberG/src/jabber_byte.cpp b/protocols/JabberG/src/jabber_byte.cpp
index edba68b505..c192613346 100644
--- a/protocols/JabberG/src/jabber_byte.cpp
+++ b/protocols/JabberG/src/jabber_byte.cpp
@@ -219,7 +219,7 @@ void CJabberProto::ByteSendThread(JABBER_BYTE_TRANSFER *jbt)
jbt->hSendEvent = CreateEvent(nullptr, FALSE, FALSE, nullptr);
query << XCHILD(L"streamhost") << XATTR(L"jid", m_ThreadInfo->fullJID) << XATTR(L"host", _A2T(localAddr)) << XATTRI(L"port", nlb.wPort);
- NETLIBIPLIST* ihaddr = Netlib_GetMyIp(true);
+ NETLIBIPLIST *ihaddr = Netlib_GetMyIp(true);
for (unsigned i=0; i < ihaddr->cbNum; i++)
if (mir_strcmp(localAddr, ihaddr->szIp[i]))
query << XCHILD(L"streamhost") << XATTR(L"jid", m_ThreadInfo->fullJID) << XATTR(L"host", _A2T(ihaddr->szIp[i])) << XATTRI(L"port", nlb.wPort);