summaryrefslogtreecommitdiff
path: root/protocols/JabberG/src
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 /protocols/JabberG/src
parent5f9ab0cf3c13bd2a0cae62bd9c5427ad302ac540 (diff)
- NUF_HTTPGATEWAY: unused option removed;
- NETLIBUSER::szDescriptiveName replaced with MAllStrings; - code cleaning.
Diffstat (limited to 'protocols/JabberG/src')
-rw-r--r--protocols/JabberG/src/jabber_ws.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/JabberG/src/jabber_ws.cpp b/protocols/JabberG/src/jabber_ws.cpp
index db491e365b..29129a74f8 100644
--- a/protocols/JabberG/src/jabber_ws.cpp
+++ b/protocols/JabberG/src/jabber_ws.cpp
@@ -32,8 +32,8 @@ BOOL CJabberProto::WsInit(void)
mir_snwprintf(name, TranslateT("%s connection"), m_tszUserName);
NETLIBUSER nlu = {};
- nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; // | NUF_HTTPGATEWAY;
- nlu.ptszDescriptiveName = name;
+ nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE;
+ nlu.szDescriptiveName.w = name;
nlu.szSettingsModule = m_szModuleName;
m_hNetlibUser = Netlib_RegisterUser(&nlu);
return m_hNetlibUser != NULL;