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/Ping/src/utils.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/Ping/src') diff --git a/plugins/Ping/src/utils.cpp b/plugins/Ping/src/utils.cpp index e643b2423a..8bdaa385a2 100644 --- a/plugins/Ping/src/utils.cpp +++ b/plugins/Ping/src/utils.cpp @@ -93,7 +93,7 @@ INT_PTR PluginPing(WPARAM, LPARAM lParam) conn.wPort = pa->port; conn.timeout = options.ping_timeout; - HANDLE s = Netlib_OpenConnection(hNetlibUser, &conn); + HNETLIBCONN s = Netlib_OpenConnection(hNetlibUser, &conn); mir_free((void*)conn.szHost); clock_t end_tcp = clock(); -- cgit v1.2.3