diff options
author | Roger Dingledine <arma@torproject.org> | 2012-11-16 11:38:56 -0500 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2012-11-16 11:38:56 -0500 |
commit | 06d367ea365ff3e6c1e181567906a9cb319a87c3 (patch) | |
tree | faab94679843ea00083e8acf586ec279b869c2d7 /src/or/nodelist.c | |
parent | ecb619d96bf22150a926c233b3ddc5d82b3dc032 (diff) | |
download | tor-06d367ea365ff3e6c1e181567906a9cb319a87c3.tar.gz tor-06d367ea365ff3e6c1e181567906a9cb319a87c3.zip |
when counting available descs, say whether we're counting exits
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r-- | 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 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 |