aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2012-11-16 11:38:56 -0500
committerRoger Dingledine <arma@torproject.org>2012-11-16 11:38:56 -0500
commit06d367ea365ff3e6c1e181567906a9cb319a87c3 (patch)
treefaab94679843ea00083e8acf586ec279b869c2d7
parentecb619d96bf22150a926c233b3ddc5d82b3dc032 (diff)
downloadtor-06d367ea365ff3e6c1e181567906a9cb319a87c3.tar
tor-06d367ea365ff3e6c1e181567906a9cb319a87c3.tar.gz
when counting available descs, say whether we're counting exits
-rw-r--r--src/or/nodelist.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index 5a726377e..7bb5e4fdf 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