From bdba6e42dcf4f1ddcb88453144b8bdc1515a5472 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 1 Feb 2006 03:05:52 +0000 Subject: avoid a minor confusing log message svn:r5887 --- src/or/circuitbuild.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 5b7c0e5269..0b6860d903 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); -- cgit v1.2.3-54-g00ecf