diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
commit | d3cb19278d60ac6f7963379254546cdca36a90e2 (patch) | |
tree | f2fa018b343d5460419c1b323f5f3ce04a393d00 /protocols/MSN/src/msn_http.cpp | |
parent | d5a6c0666a8d8d2055a3f4402f67f91e8548ec3a (diff) |
separate handle types for HNETLIBCONN & HNETLIBBIND
Diffstat (limited to 'protocols/MSN/src/msn_http.cpp')
-rw-r--r-- | protocols/MSN/src/msn_http.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/MSN/src/msn_http.cpp b/protocols/MSN/src/msn_http.cpp index f280daa823..243b7b6967 100644 --- a/protocols/MSN/src/msn_http.cpp +++ b/protocols/MSN/src/msn_http.cpp @@ -23,7 +23,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. #include "stdafx.h"
#include "msn_proto.h"
-static ThreadData* FindThreadConn(HANDLE hConn)
+static ThreadData* FindThreadConn(HNETLIBCONN hConn)
{
ThreadData *res = NULL;
for (int i = 0; i < g_Instances.getCount() && res == NULL; ++i)
@@ -36,7 +36,7 @@ static ThreadData* FindThreadConn(HANDLE hConn) // Fake function - it does nothing but confirms successful session initialization
//=======================================================================================
-int msn_httpGatewayInit(HANDLE hConn, NETLIBOPENCONNECTION*, NETLIBHTTPREQUEST*)
+int msn_httpGatewayInit(HNETLIBCONN hConn, NETLIBOPENCONNECTION*, NETLIBHTTPREQUEST*)
{
NETLIBHTTPPROXYINFO nlhpi = {};
nlhpi.szHttpGetUrl = NULL;
@@ -51,7 +51,7 @@ int msn_httpGatewayInit(HANDLE hConn, NETLIBOPENCONNECTION*, NETLIBHTTPREQUEST*) // function generates the initial URL depending on a thread type
//=======================================================================================
-int msn_httpGatewayWrapSend(HANDLE hConn, PBYTE buf, int len, int flags)
+int msn_httpGatewayWrapSend(HNETLIBCONN hConn, PBYTE buf, int len, int flags)
{
ThreadData *T = FindThreadConn(hConn);
if (T != NULL) {
|