From 3b55ee911e8e2186c2d72e03874307d3aec91b8c Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jan 2017 19:44:03 +0300 Subject: - stronger types, part II; - don't call hNetlibUser hConnection --- protocols/SkypeWeb/src/http_request.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/SkypeWeb/src/http_request.h') diff --git a/protocols/SkypeWeb/src/http_request.h b/protocols/SkypeWeb/src/http_request.h index a696a2f9c6..b7c8ef73be 100644 --- a/protocols/SkypeWeb/src/http_request.h +++ b/protocols/SkypeWeb/src/http_request.h @@ -263,7 +263,7 @@ public: mir_free(headers); } - virtual NETLIBHTTPREQUEST* Send(HANDLE hConnection) + virtual NETLIBHTTPREQUEST* Send(HNETLIBUSER nlu) { if (url.Find("://") == -1) url.Insert(0, ((flags & NLHRF_SSL) ? "https://" : "http://")); @@ -274,9 +274,9 @@ public: dataLength = (int)mir_strlen(pData); } - Netlib_Logf(Netlib_GetConnNlu(hConnection), "Send request to %s", szUrl); + Netlib_Logf(nlu, "Send request to %s", szUrl); - return (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)hConnection, (LPARAM)(NETLIBHTTPREQUEST*)this); + return (NETLIBHTTPREQUEST*)CallService(MS_NETLIB_HTTPTRANSACTION, (WPARAM)nlu, (LPARAM)(NETLIBHTTPREQUEST*)this); } }; -- cgit v1.2.3