From fbe3739da349afbb2e42bc6c1ce5a20b657289ac Mon Sep 17 00:00:00 2001 From: ElzorFox Date: Sun, 19 Mar 2017 15:46:52 +0500 Subject: VKontakte: fix sending API requests (maximum 3 requests to API methods per second) fix sending long and uint parameters as signed int version bump --- protocols/VKontakte/src/vk_history.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'protocols/VKontakte/src/vk_history.cpp') diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp index 8d4dcac8fd..ec1e9e53a7 100644 --- a/protocols/VKontakte/src/vk_history.cpp +++ b/protocols/VKontakte/src/vk_history.cpp @@ -115,11 +115,12 @@ void CVkProto::GetServerHistoryLastNDay(MCONTACT hContact, int NDay) void CVkProto::GetServerHistory(MCONTACT hContact, int iOffset, int iCount, int iTime, int iLastMsgId, bool once) { - debugLogA("CVkProto::GetServerHistory %d %d %d %d %d", iOffset, iCount, iTime, iLastMsgId, (int)once); + debugLogA("CVkProto::GetServerHistory"); if (!IsOnline() || iCount == 0) return; LONG userID = getDword(hContact, "ID", VK_INVALID_USER); + debugLogA("CVkProto::GetServerHistory %ld %d %d %d %d %d", userID, iOffset, iCount, iTime, iLastMsgId, (int)once); if (VK_INVALID_USER == userID || userID == VK_FEED_USER) return; -- cgit v1.2.3