aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuitbuild.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2005-12-27 07:37:21 +0000
committerRoger Dingledine <arma@torproject.org>2005-12-27 07:37:21 +0000
commit976bf064639b366e9d3cba1e8e0ef31802d3a6c1 (patch)
treea2a443d77410057c08b450a1e9f04c852ac82d15 /src/or/circuitbuild.c
parent25052c6f4b9bc03348b52516dd0994eff24be8d8 (diff)
downloadtor-976bf064639b366e9d3cba1e8e0ef31802d3a6c1.tar
tor-976bf064639b366e9d3cba1e8e0ef31802d3a6c1.tar.gz
slightly more accurate log messages
svn:r5664
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r--src/or/circuitbuild.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 577993a74..7cec1cc25 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1700,7 +1700,8 @@ build_state_get_exit_nickname(cpath_build_state_t *state)
* right now. (Else return NULL.) In particular, it must be
* - Listed as either up or never yet contacted;
* - Present in the routerlist;
- * - Listed as 'fast' by the current dirserver concensus; and
+ * - Listed as 'stable' or 'fast' by the current dirserver concensus,
+ * if demanded by <b>need_uptime</b> and <b>need_capacity</b>; and
* - Allowed by our current ReachableAddresses config option.
*/
static INLINE routerinfo_t *
@@ -1962,7 +1963,7 @@ helper_node_set_status(const char *digest, int succeeded)
"Connection to never-contacted helper node '%s' failed. "
"Removing from the list. %d/%d helpers usable.",
helper->nickname,
- num_live_helpers(), smartlist_len(helper_nodes));
+ num_live_helpers()-1, smartlist_len(helper_nodes)-1);
tor_free(helper);
smartlist_del_keeporder(helper_nodes, helper_sl_idx);
changed = 1;