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

svn:r5080
This commit is contained in:
Nick Mathewson 2005-09-16 04:53:28 +00:00
parent d45badd9f4
commit 538740e362

View File

@ -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);