summaryrefslogtreecommitdiff
path: root/protocols
diff options
context:
space:
mode:
Diffstat (limited to 'protocols')
-rw-r--r--protocols/Steam/src/request_queue.cpp2
-rw-r--r--protocols/Steam/src/request_queue.h5
2 files changed, 3 insertions, 4 deletions
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 <http://www.gnu.org/licenses/>.
#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<RequestQueueItem> 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();