summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/vk_files.cpp
diff options
context:
space:
mode:
authorSergey Bolhovskoy <elzorfox@ya.ru>2015-01-22 16:54:35 +0000
committerSergey Bolhovskoy <elzorfox@ya.ru>2015-01-22 16:54:35 +0000
commit5a168e085110bb7458b70e8b9a0075f161b40166 (patch)
treeeccd211eb41071278d84e899514ece5e6a332d2e /protocols/VKontakte/src/vk_files.cpp
parent9626e6e8e7d33a53b58785233290f400b63e8825 (diff)
VKontakte:
warning fix in OnReciveUploadServer add more debuglog lines fix for protocol connecting after connection lost version bump git-svn-id: http://svn.miranda-ng.org/main/trunk@11893 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_files.cpp')
-rw-r--r--protocols/VKontakte/src/vk_files.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/VKontakte/src/vk_files.cpp b/protocols/VKontakte/src/vk_files.cpp
index 9679d3e9b4..ba40af49e8 100644
--- a/protocols/VKontakte/src/vk_files.cpp
+++ b/protocols/VKontakte/src/vk_files.cpp
@@ -230,10 +230,10 @@ void CVkProto::OnReciveUploadServer(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *
pUploadReq->pData = pData;
pData += DataBegin.GetLength();
- size_t szBytes = fread(pData, 1, iFileLen, pFile);
+ long lBytes = fread(pData, 1, iFileLen, pFile);
fclose(pFile);
- if (szBytes != iFileLen) {
+ if (lBytes != iFileLen) {
SendFileFiled(fup, _T("ErrorReadFile"));
return;
}