summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/download.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/download.cpp b/src/net/download.cpp
index 5d84ebedf..491100b3d 100644
--- a/src/net/download.cpp
+++ b/src/net/download.cpp
@@ -368,7 +368,8 @@ int Download::downloadThread(void *ptr)
logger->log_r("curl error %d: %s host: %s",
res, d->mError, d->mUrl.c_str());
}
- break;
+ attempts++;
+ continue;
}
if (d->mOptions.cancel)