From 2600097dcc6e357d4d8df6105e9afb66b6d4b296 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 31 Jan 2017 19:01:52 +0300 Subject: - NUF_HTTPGATEWAY: unused option removed; - NETLIBUSER::szDescriptiveName replaced with MAllStrings; - code cleaning. --- plugins/Ping/src/ping.cpp | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'plugins/Ping/src/ping.cpp') diff --git a/plugins/Ping/src/ping.cpp b/plugins/Ping/src/ping.cpp index 45096e79c7..7688afb496 100644 --- a/plugins/Ping/src/ping.cpp +++ b/plugins/Ping/src/ping.cpp @@ -86,12 +86,7 @@ int OnModulesLoaded(WPARAM, LPARAM) NETLIBUSER nl_user = {}; nl_user.szSettingsModule = PLUG; nl_user.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE; - nl_user.ptszDescriptiveName = TranslateT("Ping Plugin"); - nl_user.szHttpGatewayHello = 0; - nl_user.szHttpGatewayUserAgent = 0; - nl_user.pfnHttpGatewayInit = 0; - nl_user.pfnHttpGatewayWrapSend = 0; - nl_user.pfnHttpGatewayUnwrapRecv = 0; + nl_user.szDescriptiveName.w = TranslateT("Ping Plugin"); hNetlibUser = Netlib_RegisterUser(&nl_user); -- cgit v1.2.3