diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-12 19:46:00 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-12 19:46:00 +0300 |
commit | 6461f17159c83bfaeba1ecbd124ab53551f3e22d (patch) | |
tree | 9c85a0ab5cf0594b971a41b01cca04d22482b66e /protocols | |
parent | 3b55ee911e8e2186c2d72e03874307d3aec91b8c (diff) |
same thing, part 3
Diffstat (limited to 'protocols')
-rw-r--r-- | protocols/Steam/src/request_queue.cpp | 2 | ||||
-rw-r--r-- | protocols/Steam/src/request_queue.h | 5 |
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();
|