diff options
author | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2017-01-14 01:22:55 +0300 |
commit | d3cb19278d60ac6f7963379254546cdca36a90e2 (patch) | |
tree | f2fa018b343d5460419c1b323f5f3ce04a393d00 /protocols/Discord | |
parent | d5a6c0666a8d8d2055a3f4402f67f91e8548ec3a (diff) |
separate handle types for HNETLIBCONN & HNETLIBBIND
Diffstat (limited to 'protocols/Discord')
-rw-r--r-- | protocols/Discord/src/proto.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/Discord/src/proto.h b/protocols/Discord/src/proto.h index 22fe036f5b..2ac14310b8 100644 --- a/protocols/Discord/src/proto.h +++ b/protocols/Discord/src/proto.h @@ -130,9 +130,8 @@ class CDiscordProto : public PROTO<CDiscordProto> void ExecuteRequest(AsyncHttpRequest *pReq); AsyncHttpRequest* Push(AsyncHttpRequest *pReq, int iTimeout = 10000); - HANDLE - m_hAPIConnection, // working connection - m_hWorkerThread; // worker thread handle + HANDLE m_hWorkerThread; // worker thread handle + HNETLIBCONN m_hAPIConnection; // working connection bool m_bOnline, // protocol is online @@ -146,7 +145,7 @@ class CDiscordProto : public PROTO<CDiscordProto> m_szGatewaySessionId; // current session id HNETLIBUSER m_hGatewayNetlibUser; // the separate netlib user handle for gateways - HANDLE m_hGatewayConnection; // gateway connection + HNETLIBCONN m_hGatewayConnection; // gateway connection void __cdecl GatewayThread(void*); void CDiscordProto::GatewayThreadWorker(void); |