diff options
author | ElzorFox <elzorfox@ya.ru> | 2019-11-08 14:08:18 +0500 |
---|---|---|
committer | ElzorFox <elzorfox@ya.ru> | 2019-11-08 14:09:23 +0500 |
commit | ff819f9907b8231bea06b1bed659b6669e2ffe72 (patch) | |
tree | ee691ceca5880e3a2bb92be37fff22600dd96d83 | |
parent | 3cfd6797b53bf812086ef7cf47b6a3cf181b1d98 (diff) |
VKontakte: fix error code for restarted reguest
-rw-r--r-- | protocols/VKontakte/src/vk_queue.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/protocols/VKontakte/src/vk_queue.cpp b/protocols/VKontakte/src/vk_queue.cpp index 8a874fb469..d361b96a1b 100644 --- a/protocols/VKontakte/src/vk_queue.cpp +++ b/protocols/VKontakte/src/vk_queue.cpp @@ -37,6 +37,7 @@ bool CVkProto::ExecuteRequest(AsyncHttpRequest *pReq) CMStringA str;
do {
pReq->bNeedsRestart = false;
+ pReq->m_iErrorCode = 0;
pReq->szUrl = pReq->m_szUrl.GetBuffer();
if (!pReq->m_szParam.IsEmpty()) {
if (pReq->requestType == REQUEST_GET) {
|