diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-31 19:01:52 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-31 19:01:52 +0300 |
commit | 2600097dcc6e357d4d8df6105e9afb66b6d4b296 (patch) | |
tree | fe6a1f8a777531ef1a28d373301dacdfc4854544 /plugins/Ping | |
parent | 5f9ab0cf3c13bd2a0cae62bd9c5427ad302ac540 (diff) |
- NUF_HTTPGATEWAY: unused option removed;
- NETLIBUSER::szDescriptiveName replaced with MAllStrings;
- code cleaning.
Diffstat (limited to 'plugins/Ping')
-rw-r--r-- | plugins/Ping/src/ping.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
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);
|