summaryrefslogtreecommitdiff
path: root/plugins/PackUpdater/Src/Utils.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2017-01-31 19:01:52 +0300
committerGeorge Hazan <ghazan@miranda.im>2017-01-31 19:01:52 +0300
commit2600097dcc6e357d4d8df6105e9afb66b6d4b296 (patch)
treefe6a1f8a777531ef1a28d373301dacdfc4854544 /plugins/PackUpdater/Src/Utils.cpp
parent5f9ab0cf3c13bd2a0cae62bd9c5427ad302ac540 (diff)
- NUF_HTTPGATEWAY: unused option removed;
- NETLIBUSER::szDescriptiveName replaced with MAllStrings; - code cleaning.
Diffstat (limited to 'plugins/PackUpdater/Src/Utils.cpp')
-rw-r--r--plugins/PackUpdater/Src/Utils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/PackUpdater/Src/Utils.cpp b/plugins/PackUpdater/Src/Utils.cpp
index 9396d59be2..9a8ce67da2 100644
--- a/plugins/PackUpdater/Src/Utils.cpp
+++ b/plugins/PackUpdater/Src/Utils.cpp
@@ -50,8 +50,8 @@ void IcoLibInit()
BOOL NetlibInit()
{
NETLIBUSER nlu = {};
- nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; // | NUF_HTTPGATEWAY;
- nlu.ptszDescriptiveName = TranslateT("Pack Updater HTTP connection");
+ nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE;
+ nlu.szDescriptiveName.w = TranslateT("Pack Updater HTTP connection");
nlu.szSettingsModule = MODNAME;
hNetlibUser = Netlib_RegisterUser(&nlu);