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/JabberG/src/jabber_ws.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/JabberG/src/jabber_ws.cpp') diff --git a/protocols/JabberG/src/jabber_ws.cpp b/protocols/JabberG/src/jabber_ws.cpp index 92dab17061..db491e365b 100644 --- a/protocols/JabberG/src/jabber_ws.cpp +++ b/protocols/JabberG/src/jabber_ws.cpp @@ -45,7 +45,7 @@ void CJabberProto::WsUninit(void) m_hNetlibUser = NULL; } -JABBER_SOCKET CJabberProto::WsConnect(char* host, WORD port) +HNETLIBCONN CJabberProto::WsConnect(char* host, WORD port) { NETLIBOPENCONNECTION nloc = {}; nloc.cbSize = sizeof(nloc); @@ -55,7 +55,7 @@ JABBER_SOCKET CJabberProto::WsConnect(char* host, WORD port) return Netlib_OpenConnection(m_hNetlibUser, &nloc); } -int CJabberProto::WsSend(JABBER_SOCKET hConn, char* data, int datalen, int flags) +int CJabberProto::WsSend(HNETLIBCONN hConn, char* data, int datalen, int flags) { m_lastTicks = ::GetTickCount(); int len; @@ -67,7 +67,7 @@ int CJabberProto::WsSend(JABBER_SOCKET hConn, char* data, int datalen, int flags return len; } -int CJabberProto::WsRecv(JABBER_SOCKET hConn, char* data, long datalen, int flags) +int CJabberProto::WsRecv(HNETLIBCONN hConn, char* data, long datalen, int flags) { int ret; -- cgit v1.2.3