make "Launching %d requests for %d routers" message more useful

specifically, specify what sort of routers we're fetching.
This commit is contained in:
Roger Dingledine
2012-09-03 22:10:49 -04:00
parent 3a0b8c85c4
commit 81c6db3288
+3 -3
View File
@@ -4484,9 +4484,9 @@ launch_descriptor_downloads(int purpose,
rtr_plural = "s";
log_info(LD_DIR,
"Launching %d request%s for %d router%s, %d at a time",
CEIL_DIV(n_downloadable, n_per_request),
req_plural, n_downloadable, rtr_plural, n_per_request);
"Launching %d request%s for %d %s%s, %d at a time",
CEIL_DIV(n_downloadable, n_per_request), req_plural,
n_downloadable, descname, rtr_plural, n_per_request);
smartlist_sort_digests(downloadable);
for (i=0; i < n_downloadable; i += n_per_request) {
initiate_descriptor_downloads(source, purpose,