diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 68f438106b..ed2e859dc8 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -3341,7 +3341,7 @@ download_status_increment_failure(download_status_t *dls, int status_code, int increment; tor_assert(dls); if (status_code != 503 || server) { - if (dls->n_download_failures < IMPOSSIBLE_TO_DOWNLOAD) + if (dls->n_download_failures < IMPOSSIBLE_TO_DOWNLOAD-1) ++dls->n_download_failures; } |