From d3cb19278d60ac6f7963379254546cdca36a90e2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 14 Jan 2017 01:22:55 +0300 Subject: separate handle types for HNETLIBCONN & HNETLIBBIND --- protocols/MSN/src/msn_threads.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/MSN/src/msn_threads.cpp') diff --git a/protocols/MSN/src/msn_threads.cpp b/protocols/MSN/src/msn_threads.cpp index c3888ba028..a7a65ec54e 100644 --- a/protocols/MSN/src/msn_threads.cpp +++ b/protocols/MSN/src/msn_threads.cpp @@ -50,7 +50,7 @@ void __cdecl CMsnProto::msn_keepAliveThread(void*) p2p_clearDormantSessions(); #endif if (hHttpsConnection && (clock() - mHttpsTS) > 60 * CLOCKS_PER_SEC) { - HANDLE hConn = hHttpsConnection; + HNETLIBCONN hConn = hHttpsConnection; hHttpsConnection = NULL; Netlib_Shutdown(hConn); } @@ -608,7 +608,7 @@ ThreadData::~ThreadData() mir_free(mData); } -void ThreadData::applyGatewayData(HANDLE hConn, bool isPoll) +void ThreadData::applyGatewayData(HNETLIBCONN hConn, bool isPoll) { char szHttpPostUrl[300]; getGatewayUrl(szHttpPostUrl, sizeof(szHttpPostUrl), isPoll); -- cgit v1.2.3