diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-11-07 17:11:23 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-11-07 17:11:23 +0000 |
commit | bed01a9003fe2923af3cb1e24f283c176500866f (patch) | |
tree | 06f9cff4d3d7528bb693430749b19afb58295387 /src/or/routerparse.c | |
parent | 0e993e6008aa0c0c5fc932bc0b84a46a9c681315 (diff) | |
download | tor-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/routerparse.c')
-rw-r--r-- | src/or/routerparse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerparse.c b/src/or/routerparse.c index ebf9266641..2e4e7e8597 100644 --- a/src/or/routerparse.c +++ b/src/or/routerparse.c @@ -1103,7 +1103,7 @@ router_parse_entry_from_string(const char *s, const char *end, tor_assert(tok->n_args >= 5); router = tor_malloc_zero(sizeof(routerinfo_t)); - router->routerlist_index = -1; + router->cache_info.routerlist_index = -1; router->cache_info.annotations_len = s-start_of_annotations + prepend_len; router->cache_info.signed_descriptor_len = end-s; if (cache_copy) { |