diff options
author | Roger Dingledine <arma@torproject.org> | 2006-02-01 03:05:52 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-02-01 03:05:52 +0000 |
commit | bdba6e42dcf4f1ddcb88453144b8bdc1515a5472 (patch) | |
tree | cd3e5e9deffb84aab87e4d6155ce35ff2a5a26b5 | |
parent | bf514e5dc5955811cbfd02df2312063f5654ce15 (diff) | |
download | tor-bdba6e42dcf4f1ddcb88453144b8bdc1515a5472.tar tor-bdba6e42dcf4f1ddcb88453144b8bdc1515a5472.tar.gz |
avoid a minor confusing log message
svn:r5887
-rw-r--r-- | src/or/circuitbuild.c | 3 |
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); |