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.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/protocols/VKontakte/src/misc.cpp b/protocols/VKontakte/src/misc.cpp
index 9e69a3a29d..866ea48068 100644
--- a/protocols/VKontakte/src/misc.cpp
+++ b/protocols/VKontakte/src/misc.cpp
@@ -137,9 +137,10 @@ bool CVkProto::CheckJsonResult(AsyncHttpRequest *pReq, NETLIBHTTPREQUEST *reply,
if (fup)
fup->iErrorCode = iErrorCode;
break;
+ case VKERR_FLOOD_CONTROL:
+ pReq->m_iRetry = 0;
case VKERR_UNKNOWN:
case VKERR_TOO_MANY_REQ_PER_SEC:
- case VKERR_FLOOD_CONTROL:
case VKERR_INTERNAL_SERVER_ERR:
if (pReq->m_iRetry > 0){
pReq->bNeedsRestart = true;