summaryrefslogtreecommitdiff
path: root/protocols/IcqOscarJ
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/IcqOscarJ
parent5f9ab0cf3c13bd2a0cae62bd9c5427ad302ac540 (diff)
- NUF_HTTPGATEWAY: unused option removed;
- NETLIBUSER::szDescriptiveName replaced with MAllStrings; - code cleaning.
Diffstat (limited to 'protocols/IcqOscarJ')
-rw-r--r--protocols/IcqOscarJ/src/icq_proto.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/IcqOscarJ/src/icq_proto.cpp b/protocols/IcqOscarJ/src/icq_proto.cpp
index fcc6cb3d8f..a97e56df77 100644
--- a/protocols/IcqOscarJ/src/icq_proto.cpp
+++ b/protocols/IcqOscarJ/src/icq_proto.cpp
@@ -161,7 +161,7 @@ CIcqProto::CIcqProto(const char* aProtoName, const wchar_t* aUserName) :
NETLIBUSER nlu = {};
nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
- nlu.ptszDescriptiveName = szBuffer;
+ nlu.szDescriptiveName.w = szBuffer;
nlu.szSettingsModule = m_szModuleName;
nlu.szHttpGatewayHello = "http://http.proxy.icq.com/hello";
nlu.szHttpGatewayUserAgent = NETLIB_USER_AGENT;
@@ -175,7 +175,7 @@ CIcqProto::CIcqProto(const char* aProtoName, const wchar_t* aUserName) :
mir_snprintf(szP2PModuleName, "%sP2P", m_szModuleName);
mir_snwprintf(szBuffer, TranslateT("%s client-to-client connections"), m_tszUserName);
nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_UNICODE;
- nlu.ptszDescriptiveName = szBuffer;
+ nlu.szDescriptiveName.w = szBuffer;
nlu.szSettingsModule = szP2PModuleName;
nlu.minIncomingPorts = 1;
m_hDirectNetlibUser = Netlib_RegisterUser(&nlu);