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/request_queue.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'protocols/SkypeWeb/src/request_queue.cpp') diff --git a/protocols/SkypeWeb/src/request_queue.cpp b/protocols/SkypeWeb/src/request_queue.cpp index fecc5f0adf..57c7cf40a4 100644 --- a/protocols/SkypeWeb/src/request_queue.cpp +++ b/protocols/SkypeWeb/src/request_queue.cpp @@ -17,8 +17,8 @@ along with this program. If not, see . #include "stdafx.h" -RequestQueue::RequestQueue(HANDLE hConnection) : -hConnection(hConnection), requests(1) +RequestQueue::RequestQueue(HNETLIBUSER _nlu) : + nlu(_nlu), requests(1) { isTerminated = true; hRequestQueueThread = NULL; @@ -70,7 +70,7 @@ void RequestQueue::Send(HttpRequest *request, HttpResponseCallback response, voi void RequestQueue::Execute(RequestQueueItem *item) { - NETLIBHTTPREQUEST *response = item->request->Send(hConnection); + NETLIBHTTPREQUEST *response = item->request->Send(nlu); if (item->responseCallback != NULL) item->responseCallback(response, item->arg); CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)response); -- cgit v1.2.3