summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_proto.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-03-22 19:41:47 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-03-22 19:41:47 +0000
commit4ba63fe41c45077e90e24f77bcece6af9ddeafef (patch)
tree484954e844e3017f3d49d0b9b7ff3dd033b86e5c /protocols/VKontakte/src/vk_proto.cpp
parent47d47d91871187493974ee79c24fc1f03c7992fd (diff)
VKontakte:
fix order for AsyncHttpRequest in m_arRequestsQueue git-svn-id: http://svn.miranda-ng.org/main/trunk@12476 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_proto.cpp')
-rw-r--r--protocols/VKontakte/src/vk_proto.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_proto.cpp b/protocols/VKontakte/src/vk_proto.cpp
index a3dc5f01c8..2c13cc782a 100644
--- a/protocols/VKontakte/src/vk_proto.cpp
+++ b/protocols/VKontakte/src/vk_proto.cpp
@@ -25,7 +25,7 @@ static int sttCompareProtocols(const CVkProto *p1, const CVkProto *p2)
static int sttCompareAsyncHttpRequest(const AsyncHttpRequest *p1, const AsyncHttpRequest *p2)
{
if (p1->m_priority == p2->m_priority)
- return (int)p1->m_time - (int)p2->m_time;
+ return (int)p1->m_reqNum - (int)p2->m_reqNum;
return (int)p2->m_priority - (int)p1->m_priority;
}