aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-07 17:30:08 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-07 17:30:08 +0000
commitdc2ab2f4e2338e28bb7aaaf33d514a97e8dd5707 (patch)
treec51070c9ba7ab9135660d9955475b31f0e879149 /src
parent9b2d86d83d198d5796e80a8cfbeb36b8892f8dfc (diff)
downloadtor-dc2ab2f4e2338e28bb7aaaf33d514a97e8dd5707.tar
tor-dc2ab2f4e2338e28bb7aaaf33d514a97e8dd5707.tar.gz
r16529@catbus: nickm | 2007-11-07 12:28:52 -0500
And make it compile too. svn:r12414
Diffstat (limited to 'src')
-rw-r--r--src/or/routerlist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index f51f7cf4e..5775a2a73 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -2988,7 +2988,7 @@ routerlist_remove_old_routers(void)
smartlist_sort(routerlist->old_routers, _compare_old_routers_by_identity);
/* Fix indices. */
- for (i = 0; i < smartlist_len(routerlist_old_routers); ++i) {
+ for (i = 0; i < smartlist_len(routerlist->old_routers); ++i) {
signed_descriptor_t *r = smartlist_get(routerlist->old_routers, i);
r->routerlist_index = i;
}