From 2600097dcc6e357d4d8df6105e9afb66b6d4b296 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Tue, 31 Jan 2017 19:01:52 +0300 Subject: - NUF_HTTPGATEWAY: unused option removed; - NETLIBUSER::szDescriptiveName replaced with MAllStrings; - code cleaning. --- protocols/Tlen/src/tlen_ws.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Tlen/src') diff --git a/protocols/Tlen/src/tlen_ws.cpp b/protocols/Tlen/src/tlen_ws.cpp index 98b21892d4..3da3a54c88 100644 --- a/protocols/Tlen/src/tlen_ws.cpp +++ b/protocols/Tlen/src/tlen_ws.cpp @@ -28,10 +28,10 @@ BOOL TlenWsInit(TlenProtocol *proto) wchar_t name[128]; NETLIBUSER nlu = {}; - nlu.ptszDescriptiveName = name; + nlu.szDescriptiveName.w = name; nlu.szSettingsModule = proto->m_szModuleName; - nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; // | NUF_HTTPGATEWAY; + nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; mir_snwprintf(name, TranslateT("%s connection"), proto->m_tszUserName); proto->m_hNetlibUser = Netlib_RegisterUser(&nlu); -- cgit v1.2.3