From 198e286b52fea238e1c6756cba07675bad8e46cc Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 Feb 2014 20:04:38 +0000 Subject: copy-paste problem in sources git-svn-id: http://svn.miranda-ng.org/main/trunk@7994 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/JabberG/src/jabber_byte.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/protocols/JabberG/src/jabber_byte.cpp b/protocols/JabberG/src/jabber_byte.cpp index fe376d53c3..351944ce65 100644 --- a/protocols/JabberG/src/jabber_byte.cpp +++ b/protocols/JabberG/src/jabber_byte.cpp @@ -171,8 +171,6 @@ void CJabberProto::ByteSendThread(JABBER_BYTE_TRANSFER *jbt) CloseHandle(jbt->hProxyEvent); jbt->hProxyEvent = NULL; - mir_free(proxyJid); - if (jbt->state == JBT_ERROR && !bDirect) { debugLogA("Bytestream proxy failure"); MsgPopup( pInfo->GetHContact(), TranslateT("Bytestream Proxy not available"), pInfo->GetReceiver()); @@ -565,7 +563,7 @@ int CJabberProto::ByteSendProxyParse(HANDLE hConn, JABBER_BYTE_TRANSFER *jbt, ch item->jbt = jbt; m_ThreadInfo->send( - XmlNodeIq( AddIQ(&CJabberProto::IqResultStreamActivate, JABBER_IQ_TYPE_SET, jbt->streamhostJID)) + XmlNodeIq( AddIQ(&CJabberProto::IqResultStreamActivate, JABBER_IQ_TYPE_SET, jbt->streamhostJID, 0, iqId)) << XQUERY(JABBER_FEAT_BYTESTREAMS) << XATTR(_T("sid"), jbt->sid) << XCHILD(_T("activate"), jbt->dstJID)); WaitForSingleObject(jbt->hProxyEvent, INFINITE); -- cgit v1.2.3