浏览代码

Fix the never-marked-anything-as-running bug. Now Tor builds circuts again. Woo.

svn:r5080
Nick Mathewson 20 年之前
父节点
当前提交
538740e362
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/or/routerlist.c

+ 2 - 2
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);