[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix the never-marked-anything-as-running bug. Now Tor build...
Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv20504/src/or
Modified Files:
routerlist.c
Log Message:
Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.
Index: routerlist.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/routerlist.c,v
retrieving revision 1.297
retrieving revision 1.298
diff -u -d -r1.297 -r1.298
--- routerlist.c 16 Sep 2005 04:43:21 -0000 1.297
+++ routerlist.c 16 Sep 2005 04:53:28 -0000 1.298
@@ -2338,8 +2338,8 @@
n_running, n_recent);
router->is_named = (n_named > n_naming/2);
- if (authdir) {
- /* We're a non-naming authdir; don't believe others. */
+ if (!authdir) {
+ /* If we're an authdir, don't believe others. */
router->is_verified = (n_valid > n_statuses/2);
router->is_running = (n_running > n_recent/2);