[or-cvs] two more thresholds to look at

arma at seul.org arma at seul.org
Mon Apr 3 06:10:35 UTC 2006


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:
two more thresholds to look at


Index: routerlist.c
===================================================================
RCS file: /home2/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.477
retrieving revision 1.478
diff -u -p -d -r1.477 -r1.478
--- routerlist.c	3 Apr 2006 02:20:32 -0000	1.477
+++ routerlist.c	3 Apr 2006 06:10:33 -0000	1.478
@@ -2630,12 +2630,14 @@ compute_recommended_versions(time_t now,
       if (current && !strcmp(cp, current)) {
         ++n_seen;
       } else {
+/* XXX Another case of requiring only half, not more than half -RD */
         if (n_seen >= n_recent/2 && current)
           smartlist_add(recommended, current);
         n_seen = 0;
         current = cp;
       }
     });
+/* XXX and here -RD */
   if (n_seen >= n_recent/2 && current)
     smartlist_add(recommended, current);
 



More information about the tor-commits mailing list