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

[or-cvs] phrase the threshold comparison in the way we"ve been



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

Modified Files:
	routerlist.c 
Log Message:
phrase the threshold comparison in the way we've been
phrasing it. these are equivalent, right?


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.480
retrieving revision 1.481
diff -u -p -d -r1.480 -r1.481
--- routerlist.c	3 Apr 2006 06:23:24 -0000	1.480
+++ routerlist.c	3 Apr 2006 06:37:35 -0000	1.481
@@ -2874,7 +2874,7 @@ routerstatus_list_update_from_networksta
   n_trusted = smartlist_len(trusted_dir_servers);
   n_statuses = smartlist_len(networkstatus_list);
 
-  if (n_statuses < (n_trusted/2)+1) {
+  if (n_statuses <= n_trusted/2) {
     /* Not enough statuses to adjust status. */
     log_notice(LD_DIR,
                "Not enough statuses to update router status list. (%d/%d)",