[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] avoid a minor confusing log message



Update of /home2/or/cvsroot/tor/src/or
In directory moria:/home/arma/work/onion/cvs/tor/src/or

Modified Files:
	circuitbuild.c 
Log Message:
avoid a minor confusing log message


Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.211
retrieving revision 1.212
diff -u -p -d -r1.211 -r1.212
--- circuitbuild.c	29 Jan 2006 01:11:41 -0000	1.211
+++ circuitbuild.c	1 Feb 2006 03:05:52 -0000	1.212
@@ -1203,7 +1203,8 @@ choose_good_exit_server_general(routerli
   }
   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);