Reset the value for chunk retry limit

Forgot to reset the value in 709235613f5f1f51afc36cfc671e0cc2cb3b96f8
This commit is contained in:
Sude 2017-09-01 08:20:05 +03:00
parent 709235613f
commit 6f42fec671

View File

@ -1619,6 +1619,7 @@ int Downloader::repairFile(const std::string& url, const std::string& filepath,
{ {
std::cout << "OK\r" << std::flush; std::cout << "OK\r" << std::flush;
iChunkRetryCount = 0; // reset retry count iChunkRetryCount = 0; // reset retry count
bChunkRetryLimitReached = false;
} }
free(chunk); free(chunk);
res = 1; res = 1;