From 6f42fec6715bfa52811418ec116c999fee663d46 Mon Sep 17 00:00:00 2001 From: Sude Date: Fri, 1 Sep 2017 08:20:05 +0300 Subject: [PATCH] Reset the value for chunk retry limit Forgot to reset the value in 709235613f5f1f51afc36cfc671e0cc2cb3b96f8 --- src/downloader.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/downloader.cpp b/src/downloader.cpp index ef04fc2..508d1f9 100644 --- a/src/downloader.cpp +++ b/src/downloader.cpp @@ -1619,6 +1619,7 @@ int Downloader::repairFile(const std::string& url, const std::string& filepath, { std::cout << "OK\r" << std::flush; iChunkRetryCount = 0; // reset retry count + bChunkRetryLimitReached = false; } free(chunk); res = 1;