From ece3c2433832d935c0634a72bac1a7b948b04b44 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 24 Jan 2022 18:24:16 +0300 Subject: compilation fix --- protocols/CurrencyRates/src/HTTPSession.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/CurrencyRates') diff --git a/protocols/CurrencyRates/src/HTTPSession.cpp b/protocols/CurrencyRates/src/HTTPSession.cpp index 6fbee42c34..eb7ffd26ab 100644 --- a/protocols/CurrencyRates/src/HTTPSession.cpp +++ b/protocols/CurrencyRates/src/HTTPSession.cpp @@ -80,9 +80,9 @@ bool CHTTPSession::Init() Miranda_WaitOnHandle(waitStub); NETLIBUSER nlu = {}; - nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_NOHTTPSOPTION | NUF_UNICODE; + nlu.flags = NUF_OUTGOING | NUF_HTTPCONNS | NUF_NOHTTPSOPTION; nlu.szSettingsModule = MODULENAME; - nlu.szDescriptiveName.w = MODULENAME; + nlu.szDescriptiveName.a = MODULENAME; g_hNetLib = Netlib_RegisterUser(&nlu); return (nullptr != g_hNetLib); } -- cgit v1.2.3