summaryrefslogtreecommitdiff
path: root/src/or/routerparse.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/routerparse.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/routerparse.c')
-rw-r--r--src/or/routerparse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c
index b987d6f59c..665a718132 100644
--- a/src/or/routerparse.c
+++ b/src/or/routerparse.c
@@ -2027,7 +2027,7 @@ routerstatus_parse_entry_from_string(memarea_t *area,
else if (!strcmp(tok->args[i], "Fast"))
rs->is_fast = 1;
else if (!strcmp(tok->args[i], "Running"))
- rs->is_running = 1;
+ rs->is_flagged_running = 1;
else if (!strcmp(tok->args[i], "Named"))
rs->is_named = 1;
else if (!strcmp(tok->args[i], "Valid"))