[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r12414: And make it compile too. (in tor/trunk: . src/or)
Author: nickm
Date: 2007-11-07 12:30:08 -0500 (Wed, 07 Nov 2007)
New Revision: 12414
Modified:
tor/trunk/
tor/trunk/src/or/routerlist.c
Log:
r16529@catbus: nickm | 2007-11-07 12:28:52 -0500
And make it compile too.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r16529] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-11-07 17:29:16 UTC (rev 12413)
+++ tor/trunk/src/or/routerlist.c 2007-11-07 17:30:08 UTC (rev 12414)
@@ -2988,7 +2988,7 @@
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;
}