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 /protocols/MSN/src | |
parent | 5f9ab0cf3c13bd2a0cae62bd9c5427ad302ac540 (diff) |
- NUF_HTTPGATEWAY: unused option removed;
- NETLIBUSER::szDescriptiveName replaced with MAllStrings;
- code cleaning.
Diffstat (limited to 'protocols/MSN/src')
-rw-r--r-- | protocols/MSN/src/msn_proto.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/MSN/src/msn_proto.cpp b/protocols/MSN/src/msn_proto.cpp index 0868dd76e7..44cd861286 100644 --- a/protocols/MSN/src/msn_proto.cpp +++ b/protocols/MSN/src/msn_proto.cpp @@ -140,7 +140,7 @@ CMsnProto::CMsnProto(const char* aProtoName, const wchar_t* aUserName) : NETLIBUSER nlu1 = {};
nlu1.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
nlu1.szSettingsModule = szDbsettings;
- nlu1.ptszDescriptiveName = szBuffer;
+ nlu1.szDescriptiveName.w = szBuffer;
mir_snprintf(szDbsettings, "%s_HTTPS", m_szModuleName);
mir_snwprintf(szBuffer, TranslateT("%s plugin HTTPS connections"), m_tszUserName);
@@ -149,7 +149,7 @@ CMsnProto::CMsnProto(const char* aProtoName, const wchar_t* aUserName) : NETLIBUSER nlu = {};
nlu.flags = NUF_INCOMING | NUF_OUTGOING | NUF_HTTPCONNS | NUF_UNICODE;
nlu.szSettingsModule = m_szModuleName;
- nlu.ptszDescriptiveName = szBuffer;
+ nlu.szDescriptiveName.w = szBuffer;
nlu.szHttpGatewayUserAgent = (char*)MSN_USER_AGENT;
nlu.pfnHttpGatewayInit = msn_httpGatewayInit;
|