summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_history.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2014-11-30 08:56:42 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2014-11-30 08:56:42 +0000
commit0eb671f7d30f51c6a0f30ed99a4ec123479f3239 (patch)
treed25307d8656683075cbdac8e9d1c0c89e890b85d /protocols/VKontakte/src/vk_history.cpp
parentb5d6b5793620a170d2630c37230e34c88c24ecda (diff)
VKontakte: cosmrtic
git-svn-id: http://svn.miranda-ng.org/main/trunk@11168 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_history.cpp')
-rw-r--r--protocols/VKontakte/src/vk_history.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/vk_history.cpp b/protocols/VKontakte/src/vk_history.cpp
index 1d77774198..6a0eece936 100644
--- a/protocols/VKontakte/src/vk_history.cpp
+++ b/protocols/VKontakte/src/vk_history.cpp
@@ -102,7 +102,7 @@ void CVkProto::GetServerHistoryLastNDay(MCONTACT hContact, int NDay)
if (!IsOnline())
return;
- UINT iTime = time(0) - 60 * 60 * 24 * NDay;
+ UINT iTime = time(NULL) - 60 * 60 * 24 * NDay;
HANDLE hDBEvent = db_event_first(hContact);
while (hDBEvent) {