summaryrefslogtreecommitdiff
path: root/protocols/VKontakte/src/misc.cpp
diff options
context:
space:
mode:
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()