From 6461f17159c83bfaeba1ecbd124ab53551f3e22d Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 12 Jan 2017 19:46:00 +0300 Subject: same thing, part 3 --- protocols/Steam/src/request_queue.cpp | 2 +- protocols/Steam/src/request_queue.h | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'protocols/Steam/src') diff --git a/protocols/Steam/src/request_queue.cpp b/protocols/Steam/src/request_queue.cpp index 63e1c799b5..cca3dfc006 100644 --- a/protocols/Steam/src/request_queue.cpp +++ b/protocols/Steam/src/request_queue.cpp @@ -17,7 +17,7 @@ along with this program. If not, see . #include "stdafx.h" -RequestQueue::RequestQueue(HANDLE hConnection) : +RequestQueue::RequestQueue(HNETLIBUSER hConnection) : hConnection(hConnection), requests(1) { isTerminated = true; diff --git a/protocols/Steam/src/request_queue.h b/protocols/Steam/src/request_queue.h index 0cd8811536..6d14209fb8 100644 --- a/protocols/Steam/src/request_queue.h +++ b/protocols/Steam/src/request_queue.h @@ -32,9 +32,8 @@ struct RequestQueueItem class RequestQueue { -private: bool isTerminated; - HANDLE hConnection; + HNETLIBUSER hConnection; mir_cs requestQueueLock; LIST requests; HANDLE hRequestQueueEvent, hRequestQueueThread; @@ -45,7 +44,7 @@ private: static unsigned int __cdecl WorkerThread(void*); public: - RequestQueue(HANDLE hConnection); + RequestQueue(HNETLIBUSER hConnection); ~RequestQueue(); void Start(); -- cgit v1.2.3