summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 3fa6353d56..f0cc674ca6 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -3527,7 +3527,7 @@ launch_router_descriptor_downloads(smartlist_t *downloadable, time_t now)
}
}
- if (! should_delay) {
+ if (! should_delay && n_downloadable) {
int i, n_per_request;
const char *req_plural = "", *rtr_plural = "";
n_per_request = (n_downloadable+MIN_REQUESTS-1) / MIN_REQUESTS;