summaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-07 17:11:23 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-07 17:11:23 +0000
commitbed01a9003fe2923af3cb1e24f283c176500866f (patch)
tree06f9cff4d3d7528bb693430749b19afb58295387 /src/or/networkstatus.c
parent0e993e6008aa0c0c5fc932bc0b84a46a9c681315 (diff)
downloadtor-bed01a9003fe2923af3cb1e24f283c176500866f.tar.gz
tor-bed01a9003fe2923af3cb1e24f283c176500866f.zip
r16525@catbus: nickm | 2007-11-07 12:10:01 -0500
Clean up log messages from bug 543 fix, and make old_routers also keep track of their indices. This will probably crash some until all the bugs are fixed. svn:r12412
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index 33996f47eb..2dea5d4a38 100644
--- a/src/or/networkstatus.c
+++ b/src/or/networkstatus.c
@@ -1419,7 +1419,7 @@ routers_update_all_from_networkstatus(time_t now)
routers_update_status_from_consensus_networkstatus(rl->routers, 0);
SMARTLIST_FOREACH(rl->routers, routerinfo_t *, ri,
- ri->routerlist_index = ri_sl_idx);
+ ri->cache_info.routerlist_index = ri_sl_idx);
if (rl->old_routers)
signed_descs_update_status_from_consensus_networkstatus(rl->old_routers);
entry_guards_compute_status();