Explorar o código

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

svn:r5080
Nick Mathewson %!s(int64=20) %!d(string=hai) anos
pai
achega
538740e362
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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);