aboutsummaryrefslogtreecommitdiff
path: root/src/or/nodelist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2010-09-30 14:58:27 -0400
committerNick Mathewson <nickm@torproject.org>2010-10-01 18:14:27 -0400
commit45f1e4d5ee7b6e2308655628d18a67d330d9b624 (patch)
treee78de04bf2888e7ca2abe5b80f91ae01949cd795 /src/or/nodelist.c
parent26e897420e07611e0b2c10b28202c388eea4bd6b (diff)
downloadtor-45f1e4d5ee7b6e2308655628d18a67d330d9b624.tar.gz
tor-45f1e4d5ee7b6e2308655628d18a67d330d9b624.zip
Rename routerstatus_t.is_running to is_flagged_running
This was the only flag in routerstatus_t that we would previously change in a routerstatus_t in a consensus. We no longer have reason to do so -- and probably never did -- as you can now confirm more easily than you could have done by grepping for is_running before this patch. The name change is to emphasize that the routerstatus_t is_running flag is only there to tell you whether the consensus says it's running, not whether it *you* think it's running.
Diffstat (limited to 'src/or/nodelist.c')
-rw-r--r--src/or/nodelist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/nodelist.c b/src/or/nodelist.c
index f2923a4eba..dd83abf54e 100644
--- a/src/or/nodelist.c
+++ b/src/or/nodelist.c
@@ -193,7 +193,7 @@ nodelist_set_consensus(networkstatus_t *ns)
/* If we're not an authdir, believe others. */
if (!authdir) {
node->is_valid = rs->is_valid;
- node->is_running = rs->is_running;
+ node->is_running = rs->is_flagged_running;
node->is_fast = rs->is_fast;
node->is_stable = rs->is_stable;
node->is_possible_guard = rs->is_possible_guard;