diff options
author | George Hazan <ghazan@miranda.im> | 2020-05-28 20:24:15 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2020-05-28 20:24:15 +0300 |
commit | f9f8ac0fe315e61e6c092e0f14265b706f8ef092 (patch) | |
tree | a1539acb916adc57bd2170dd4365ed48ec106b78 /protocols/ICQ-WIM/src/poll.cpp | |
parent | 373e78401f7ab116bc0c1787da125d5e46c901d5 (diff) |
ICQ-WIM: unused class member CIcqProto::m_hPollThread removed
Diffstat (limited to 'protocols/ICQ-WIM/src/poll.cpp')
-rw-r--r-- | protocols/ICQ-WIM/src/poll.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/protocols/ICQ-WIM/src/poll.cpp b/protocols/ICQ-WIM/src/poll.cpp index cb7ca2fe59..d5018a3d53 100644 --- a/protocols/ICQ-WIM/src/poll.cpp +++ b/protocols/ICQ-WIM/src/poll.cpp @@ -314,7 +314,7 @@ void CIcqProto::ProcessPresence(const JSONNode &ev) } } -void CIcqProto::ProcessSessionEnd(const JSONNode&) +void CIcqProto::ProcessSessionEnd(const JSONNode &/*ev*/) { m_szRToken.Empty(); m_iRClientId = 0; @@ -332,7 +332,7 @@ void CIcqProto::ProcessTyping(const JSONNode &ev) if (pCache) { if (wszStatus == "typing") CallService(MS_PROTO_CONTACTISTYPING, pCache->m_hContact, 60); - else + else CallService(MS_PROTO_CONTACTISTYPING, pCache->m_hContact, PROTOTYPE_CONTACTTYPING_OFF); } } @@ -367,7 +367,7 @@ void __cdecl CIcqProto::PollThread(void*) auto *pReq = new AsyncHttpRequest(CONN_FETCH, REQUEST_GET, szUrl, &CIcqProto::OnFetchEvents); if (!m_bFirstBos) pReq->timeout = 62000; - + if (!ExecuteRequest(pReq)) { ShutdownSession(); break; @@ -377,5 +377,4 @@ void __cdecl CIcqProto::PollThread(void*) } debugLogA("Polling thread ended"); - m_hPollThread = nullptr; } |