From e145db68fb5b7d0682a4b2be0174cebfe47dd74e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 Jan 2017 00:01:59 +0300 Subject: a bit less netlib services --- 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 f1882181dc..949c8cd1ee 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 = (HANDLE)CallService(MS_NETLIB_OPENCONNECTION, (WPARAM)hNetlibUser, (LPARAM)&conn); + HANDLE s = Netlib_OpenConnection(hNetlibUser, &conn); mir_free((void*)conn.szHost); clock_t end_tcp = clock(); -- cgit v1.2.3