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 --- plugins/YAMN/src/proto/netlib.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/YAMN/src/proto/netlib.cpp') diff --git a/plugins/YAMN/src/proto/netlib.cpp b/plugins/YAMN/src/proto/netlib.cpp index 64da34ed8d..b737dc89e2 100644 --- a/plugins/YAMN/src/proto/netlib.cpp +++ b/plugins/YAMN/src/proto/netlib.cpp @@ -116,7 +116,7 @@ void CNLClient::Connect(const char* servername, const int port) throw(DWORD) //Performs a simple query // query- command to send -int CNLClient::LocalNetlib_Send(HANDLE hConn, const char *buf, int len, int flags) +int CNLClient::LocalNetlib_Send(HNETLIBCONN hConn, const char *buf, int len, int flags) { return Netlib_Send(hConn, buf, len, flags); } @@ -156,7 +156,7 @@ void CNLClient::Send(const char *query) throw(DWORD) //You need free() returned buffer, which can be allocated in this function //if not success, exception is throwed -int CNLClient::LocalNetlib_Recv(HANDLE hConn, char *buf, int len, int flags) +int CNLClient::LocalNetlib_Recv(HNETLIBCONN hConn, char *buf, int len, int flags) { int iReturn = Netlib_Recv(hConn, buf, len, flags); if (isTLSed) { -- cgit v1.2.3