summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_queue.cpp
diff options
context:
space:
mode:
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);