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/Weather/src/weather_http.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/Weather/src') diff --git a/protocols/Weather/src/weather_http.cpp b/protocols/Weather/src/weather_http.cpp index 248f183fdb..a306315011 100644 --- a/protocols/Weather/src/weather_http.cpp +++ b/protocols/Weather/src/weather_http.cpp @@ -137,8 +137,8 @@ int InternetDownloadFile(char *szUrl, char *cookie, char *userAgent, wchar_t **s void NetlibInit(void) { 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; hNetlibUser = Netlib_RegisterUser(&nlu); } -- cgit v1.2.3