[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] when counting available descs, say whether we're counting exits



commit 06d367ea365ff3e6c1e181567906a9cb319a87c3
Author: Roger Dingledine <arma@xxxxxxxxxxxxxx>
Date:   Fri Nov 16 11:38:56 2012 -0500

    when counting available descs, say whether we're counting exits
---
 src/or/nodelist.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 5a72637..7bb5e4f 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

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits