[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] slightly more accurate log messages
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:
slightly more accurate log messages
Index: circuitbuild.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/circuitbuild.c,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -p -d -r1.190 -r1.191
--- circuitbuild.c 27 Dec 2005 07:23:52 -0000 1.190
+++ circuitbuild.c 27 Dec 2005 07:37:21 -0000 1.191
@@ -1700,7 +1700,8 @@ build_state_get_exit_nickname(cpath_buil
* 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 *diges
"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;