summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.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/misc.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/misc.cpp')
-rw-r--r--protocols/VKontakte/src/misc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 70c28659e5..9576d09224 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -97,6 +97,7 @@ AsyncHttpRequest::AsyncHttpRequest(CVkProto *ppro, int iRequestType, LPCSTR _url
{
cbSize = sizeof(NETLIBHTTPREQUEST);
m_bApiReq = true;
+ bIsMainConn = false;
AddHeader("Connection", "keep-alive");
AddHeader("Accept-Encoding", "booo");
@@ -119,7 +120,6 @@ AsyncHttpRequest::AsyncHttpRequest(CVkProto *ppro, int iRequestType, LPCSTR _url
pUserInfo = NULL;
m_iRetry = MAX_RETRIES;
bNeedsRestart = false;
- bIsMainConn = false;
}
AsyncHttpRequest::~AsyncHttpRequest()