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/Watrack_MPD/src/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'plugins/Watrack_MPD/src/main.cpp') diff --git a/plugins/Watrack_MPD/src/main.cpp b/plugins/Watrack_MPD/src/main.cpp index a923777982..5bedeb0101 100755 --- a/plugins/Watrack_MPD/src/main.cpp +++ b/plugins/Watrack_MPD/src/main.cpp @@ -16,7 +16,7 @@ #include "stdafx.h" -HANDLE ghConnection; +HNETLIBCONN ghConnection; HANDLE ghPacketReciever; BOOL Connected; int gbState; @@ -262,8 +262,6 @@ void Stop() Netlib_CloseHandle(ghPacketReciever); if(ghConnection) Netlib_CloseHandle(ghConnection); - if(ghNetlibUser && (ghNetlibUser != INVALID_HANDLE_VALUE)) - Netlib_Shutdown(ghNetlibUser); } int Init() -- cgit v1.2.3