aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-02-01 03:05:52 +0000
committerRoger Dingledine <arma@torproject.org>2006-02-01 03:05:52 +0000
commitbdba6e42dcf4f1ddcb88453144b8bdc1515a5472 (patch)
treecd3e5e9deffb84aab87e4d6155ce35ff2a5a26b5
parentbf514e5dc5955811cbfd02df2312063f5654ce15 (diff)
downloadtor-bdba6e42dcf4f1ddcb88453144b8bdc1515a5472.tar
tor-bdba6e42dcf4f1ddcb88453144b8bdc1515a5472.tar.gz
avoid a minor confusing log message
svn:r5887
-rw-r--r--src/or/circuitbuild.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c
index 5b7c0e526..0b6860d90 100644
--- a/src/or/circuitbuild.c
+++ b/src/or/circuitbuild.c
@@ -1203,7 +1203,8 @@ choose_good_exit_server_general(routerlist_t *dir, int need_uptime,
}
info(LD_CIRC,
"Found %d servers that might support %d/%d pending connections.",
- n_best_support, best_support, n_pending_connections);
+ n_best_support, best_support >= 0 ? best_support : 0,
+ n_pending_connections);
preferredexits = smartlist_create();
add_nickname_list_to_smartlist(preferredexits,options->ExitNodes,1,1,1);