summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-08-12 06:28:26 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-08-12 06:28:26 +0000
commit2eb921fdbae7be508cdd3e20c67760384d84348e (patch)
treee3afd9d520b9f8bfd3bb31a5800cf93d613c5514 /protocols/VKontakte/src/vk_queue.cpp
parentc889a87ca723981a7105b2970da9d33a11b96e9d (diff)
VKontakte:
update vk api version to 5.37 minor change for forward message formating code cleaning version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@14921 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_queue.cpp')
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index 95493baed3..e553905e45 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -53,7 +53,7 @@ void CVkProto::ExecuteRequest(AsyncHttpRequest *pReq)
if (reply != NULL) {
if (pReq->m_pFunc != NULL)
(this->*(pReq->m_pFunc))(reply, pReq); // may be set pReq->bNeedsRestart
- CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)reply);
+ CallService(MS_NETLIB_FREEHTTPREQUESTSTRUCT, 0, (LPARAM)reply);
}
else if (pReq->bIsMainConn) {
if (IsStatusConnecting(m_iStatus))
@@ -124,14 +124,14 @@ void CVkProto::WorkerThread(void*)
Push(pReq);
}
- while (true) {
+ while (true) {
WaitForSingleObject(m_evRequestsQueue, 1000);
if (m_bTerminated)
break;
AsyncHttpRequest *pReq;
bool need_sleep = false;
- while (true) {
+ while (true) {
{
mir_cslock lck(m_csRequestsQueue);
if (m_arRequestsQueue.getCount() == 0)