summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_feed.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-07-23 10:12:12 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-07-23 10:12:12 +0000
commit87432e38cd1dbe0fec239918ce16b51de55c74a2 (patch)
tree07049794aed8c1743bc3f9ff450cb8c04b34d50f /protocols/VKontakte/src/vk_feed.cpp
parent371c87af33810c934034161947c143ccbf6aa01b (diff)
VKontakte:
warning fix code cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@14649 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_feed.cpp')
-rw-r--r--protocols/VKontakte/src/vk_feed.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/protocols/VKontakte/src/vk_feed.cpp b/protocols/VKontakte/src/vk_feed.cpp
index 487040ffb5..e8c68db7a9 100644
--- a/protocols/VKontakte/src/vk_feed.cpp
+++ b/protocols/VKontakte/src/vk_feed.cpp
@@ -527,14 +527,14 @@ void CVkProto::RetrieveUnreadNews(time_t tLastNewsTime)
return;
}
- Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/newsfeed.get.json", true, &CVkProto::OnReceiveUnreadNews))
+ Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/newsfeed.get.json", true, &CVkProto::OnReceiveUnreadNews)
<< INT_PARAM("count", 100)
<< INT_PARAM("return_banned", m_bNewsSourceIncludeBanned ? 1 : 0)
<< INT_PARAM("max_photos", m_iMaxLoadNewsPhoto)
<< INT_PARAM("start_time", tLastNewsTime + 1)
<< CHAR_PARAM("filters", szFilter)
<< CHAR_PARAM("source_ids", szSource)
- << VER_API;
+ << VER_API);
setDword("LastNewsReqTime", (DWORD)time(NULL));
}
@@ -618,9 +618,9 @@ void CVkProto::RetrieveUnreadNotifications(time_t tLastNotificationsTime)
(LONG)(tLastNotificationsTime + 1),
m_bNotificationFilterInvites ? _T(",\"groupinvates\":API.groups.getInvites({\"extended\":1})};") : _T("};"));
- Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/execute.json", true, &CVkProto::OnReceiveUnreadNotifications))
+ Push(new AsyncHttpRequest(this, REQUEST_GET, "/method/execute.json", true, &CVkProto::OnReceiveUnreadNotifications)
<< TCHAR_PARAM("code", code)
- << VER_API;
+ << VER_API);
setDword("LastNotificationsReqTime", (DWORD)time(NULL));
}