From e145db68fb5b7d0682a4b2be0174cebfe47dd74e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 13 Jan 2017 00:01:59 +0300 Subject: a bit less netlib services --- protocols/MRA/src/Mra_functions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'protocols/MRA/src/Mra_functions.cpp') diff --git a/protocols/MRA/src/Mra_functions.cpp b/protocols/MRA/src/Mra_functions.cpp index a63493bfc3..da0f03fd69 100644 --- a/protocols/MRA/src/Mra_functions.cpp +++ b/protocols/MRA/src/Mra_functions.cpp @@ -693,10 +693,10 @@ void CMraProto::MraUpdateEmailStatus(const CMStringA &pszFrom, const CMStringA & } } -bool IsHTTPSProxyUsed(HANDLE hNetlibUser) +bool IsHTTPSProxyUsed(HNETLIBUSER hNetlibUser) { NETLIBUSERSETTINGS nlus = { sizeof(nlus) }; - if (CallService(MS_NETLIB_GETUSERSETTINGS, (WPARAM)hNetlibUser, (LPARAM)&nlus)) + Netlib_GetUserSettings(hNetlibUser, &nlus); if (nlus.useProxy && nlus.proxyType == PROXYTYPE_HTTPS) return true; -- cgit v1.2.3