summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather_http.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/Weather/src/weather_http.cpp')
-rw-r--r--protocols/Weather/src/weather_http.cpp4
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);
}