diff options
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/CurrencyRates/src/HTTPSession.cpp | 4 | ||||
-rw-r--r-- | protocols/GmailNotifier/src/main.cpp | 4 | ||||
-rw-r--r-- | protocols/NewsAggregator/Src/Utils.cpp | 4 | ||||
-rw-r--r-- | protocols/Weather/src/weather_http.cpp | 4 | ||||
-rw-r--r-- | protocols/YAMN/src/proto/netlib.cpp | 2 | ||||
-rw-r--r-- | protocols/YAMN/src/proto/pop3/pop3comm.cpp | 2 |
6 files changed, 10 insertions, 10 deletions
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); } diff --git a/protocols/GmailNotifier/src/main.cpp b/protocols/GmailNotifier/src/main.cpp index 98b6071fbc..5eaf78108d 100644 --- a/protocols/GmailNotifier/src/main.cpp +++ b/protocols/GmailNotifier/src/main.cpp @@ -89,9 +89,9 @@ int CMPlugin::Load() HookEvent(ME_CLIST_DOUBLECLICKED, OpenBrowser); 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); CreateProtoServiceFunction(MODULENAME, PS_GETCAPS, GetCaps); diff --git a/protocols/NewsAggregator/Src/Utils.cpp b/protocols/NewsAggregator/Src/Utils.cpp index 11722b0d0f..50f21c817b 100644 --- a/protocols/NewsAggregator/Src/Utils.cpp +++ b/protocols/NewsAggregator/Src/Utils.cpp @@ -32,8 +32,8 @@ bool IsMyContact(MCONTACT hContact) void NetlibInit() { NETLIBUSER nlu = {}; - nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS | NUF_UNICODE; - nlu.szDescriptiveName.w = MODULENAME; + nlu.flags = NUF_OUTGOING | NUF_INCOMING | NUF_HTTPCONNS; + nlu.szDescriptiveName.a = MODULENAME; nlu.szSettingsModule = MODULENAME; hNetlibUser = Netlib_RegisterUser(&nlu); } 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); } diff --git a/protocols/YAMN/src/proto/netlib.cpp b/protocols/YAMN/src/proto/netlib.cpp index a2f924294e..34366fa734 100644 --- a/protocols/YAMN/src/proto/netlib.cpp +++ b/protocols/YAMN/src/proto/netlib.cpp @@ -31,7 +31,7 @@ void __stdcall SSL_DebugLog(const char *fmt, ...) va_end(vararg); } -HANDLE RegisterNLClient(const char *name) +HANDLE RegisterNLClient(char *name) { #ifdef DEBUG_COMM DebugLog(CommFile, "<Register PROXY support>"); diff --git a/protocols/YAMN/src/proto/pop3/pop3comm.cpp b/protocols/YAMN/src/proto/pop3/pop3comm.cpp index 4d5f7c9fa8..690cad6e86 100644 --- a/protocols/YAMN/src/proto/pop3/pop3comm.cpp +++ b/protocols/YAMN/src/proto/pop3/pop3comm.cpp @@ -131,7 +131,7 @@ YAMN_PROTOREGISTRATION POP3ProtocolRegistration = static wchar_t *FileName = nullptr; -HANDLE RegisterNLClient(const char *name); +HANDLE RegisterNLClient(char *name); //-------------------------------------------------------------------------------------------------- //-------------------------------------------------------------------------------------------------- |