summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
authorElzorFox <elzorfox@ya.ru>2017-04-14 09:41:48 +0500
committerElzorFox <elzorfox@ya.ru>2017-04-14 09:41:48 +0500
commitb177a65e73448e889ede1fb0e9ed2b0ce1be7d3d (patch)
treee2f9bb7122277299b7c503a536fd6d2651339547 /protocols/VKontakte/src/vk_queue.cpp
parent7b30de3fe30115c40ab2f2a0e720123a13d67305 (diff)
VKontakte: code cleaning
Diffstat (limited to 'protocols/VKontakte/src/vk_queue.cpp')
-rw-r--r--protocols/VKontakte/src/vk_queue.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp
index 1113a0850f..fb8a37d882 100644
--- a/protocols/VKontakte/src/vk_queue.cpp
+++ b/protocols/VKontakte/src/vk_queue.cpp
@@ -167,12 +167,12 @@ void CVkProto::WorkerThread(void*)
lWaitingTime = (utime - uTime[0]) > 1000 ? 0 : 1100 - (utime - uTime[0]);
if (!(pReq->m_bApiReq) || lWaitingTime < 0)
- lWaitingTime = 0;
+ lWaitingTime = 0;
}
if (m_bTerminated)
break;
-
+
if (lWaitingTime) {
debugLogA("CVkProto::WorkerThread: need sleep %d msec", lWaitingTime);
Sleep(lWaitingTime);