diff options
author | George Hazan <ghazan@miranda.im> | 2022-01-24 18:24:16 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2022-01-24 18:24:16 +0300 |
commit | ece3c2433832d935c0634a72bac1a7b948b04b44 (patch) | |
tree | b93092dd39f076f8b764d596f2f4fe9381d2e530 /protocols/Weather/src | |
parent | dae0eee5cac2a349102d78f71c03686a83866bb7 (diff) |
compilation fix
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r-- | protocols/Weather/src/weather_http.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); } |