summaryrefslogtreecommitdiff
path: root/protocols/Icq10/src/http.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-12-30 18:00:38 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-12-30 18:00:45 +0300
commit484310a70f4152b15dcbae24ed9e23009ae77c26 (patch)
treebca0e19889336d7b6ec45d6abf85c78dce18a52e /protocols/Icq10/src/http.cpp
parent72a3eccff9871ce57b12d2a282d50bef6bbcd05c (diff)
Icq10:
- fixes #1695 (socket leak); - fixes timeout error in long poll connection
Diffstat (limited to 'protocols/Icq10/src/http.cpp')
-rw-r--r--protocols/Icq10/src/http.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Icq10/src/http.cpp b/protocols/Icq10/src/http.cpp
index 4681a4d135..0d66a3ae71 100644
--- a/protocols/Icq10/src/http.cpp
+++ b/protocols/Icq10/src/http.cpp
@@ -159,7 +159,7 @@ void CIcqProto::ExecuteRequest(AsyncHttpRequest *pReq)
(this->*(pReq->m_pFunc))(reply, pReq);
if (pReq->m_conn != CONN_NONE)
- m_ConnPool[pReq->m_conn] = pReq->nlc;
+ m_ConnPool[pReq->m_conn] = reply->nlc;
Netlib_FreeHttpRequest(reply);
}