aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2005-09-16 04:53:28 +0000
committerNick Mathewson <nickm@torproject.org>2005-09-16 04:53:28 +0000
commit538740e362e7c06d1abb2c9039266c87b1fc5ec0 (patch)
tree7ac63c1faa1f3f55a3da2bbc9c94e89a8a604baa /src
parentd45badd9f4135b802b88ee608f6c40079a78a650 (diff)
downloadtor-538740e362e7c06d1abb2c9039266c87b1fc5ec0.tar.gz
tor-538740e362e7c06d1abb2c9039266c87b1fc5ec0.zip
Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.
svn:r5080
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 6deab45cc0..8288c4310a 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2338,8 +2338,8 @@ routers_update_status_from_networkstatus(smartlist_t *routers)
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);