From: Roger Dingledine Date: Fri, 16 Nov 2012 16:38:56 +0000 (-0500) Subject: when counting available descs, say whether we're counting exits X-Git-Tag: tor-0.2.4.7-alpha~32 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=06d367ea365ff3e6c1e181567906a9cb319a87c3;p=thirdparty%2Ftor.git when counting available descs, say whether we're counting exits --- diff --git a/src/or/nodelist.c b/src/or/nodelist.c index 5a726377ec..7bb5e4fdfc 100644 --- a/src/or/nodelist.c +++ b/src/or/nodelist.c @@ -1269,8 +1269,9 @@ count_usable_descriptors(int *num_present, int *num_usable, } SMARTLIST_FOREACH_END(rs); - log_debug(LD_DIR, "%d usable, %d present (%s).", *num_usable, *num_present, - md ? "microdescs" : "descs"); + log_debug(LD_DIR, "%d usable, %d present (%s%s).", + *num_usable, *num_present, + md ? "microdesc" : "desc", exit_only ? " exits" : "s"); } /** We just fetched a new set of descriptors. Compute how far through