[tor-commits] [tor/master] make "Launching %d requests for %d routers" message more useful

arma at torproject.org arma at torproject.org
Tue Sep 4 02:12:24 UTC 2012


commit 81c6db32887f68e791df4dca806c9ac132e53ae4
Author: Roger Dingledine <arma at torproject.org>
Date:   Mon Sep 3 22:10:49 2012 -0400

    make "Launching %d requests for %d routers" message more useful
    
    specifically, specify what sort of routers we're fetching.
---
 src/or/routerlist.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index cee149a..4e57bfa 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -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,



More information about the tor-commits mailing list