diff options
author | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-27 03:11:57 +0000 |
---|---|---|
committer | Sergey Bolhovskoy <elzorfox@ya.ru> | 2015-02-27 03:11:57 +0000 |
commit | 427c9ddf6b92e487f80b9856dbca6b71da5d8af7 (patch) | |
tree | 5ecd85fbc6f4f82c19776a8772e5f21adc4de203 /protocols/VKontakte/src/vk_thread.cpp | |
parent | 73ae04e46f095a0074588c49e430f46077457145 (diff) |
VKontakte: fix restart connect process when network error on authorization
git-svn-id: http://svn.miranda-ng.org/main/trunk@12276 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/VKontakte/src/vk_thread.cpp')
-rw-r--r-- | protocols/VKontakte/src/vk_thread.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_thread.cpp b/protocols/VKontakte/src/vk_thread.cpp index 99b9685001..306fda8600 100644 --- a/protocols/VKontakte/src/vk_thread.cpp +++ b/protocols/VKontakte/src/vk_thread.cpp @@ -147,6 +147,7 @@ void CVkProto::OnOAuthAuthorize(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq m_prevUrl = pReq->m_szUrl;
}
pReq->m_bApiReq = false;
+ pReq->bIsMainConn = true;
Push(pReq);
}
}
@@ -189,6 +190,7 @@ void CVkProto::OnOAuthAuthorize(NETLIBHTTPREQUEST *reply, AsyncHttpRequest *pReq pReq->Redirect(reply);
ApplyCookies(pReq);
pReq->m_bApiReq = false;
+ pReq->bIsMainConn = true;
Push(pReq);
}
|