diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-06-11 21:42:48 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-06-11 21:42:48 +0000 |
commit | bde82e737b7e049e7de2e3edd21e4ce88932f3d9 (patch) | |
tree | 73e27b03d0cedbc41f6540e96ccfd102a45318be /src | |
parent | e91cab20dd5eb1789358ce5b7929bce93478f8cd (diff) | |
download | tor-bde82e737b7e049e7de2e3edd21e4ce88932f3d9.tar.gz tor-bde82e737b7e049e7de2e3edd21e4ce88932f3d9.zip |
r13352@catbus: nickm | 2007-06-11 17:42:45 -0400
Since desc_by_eid_map hold server descriptors, do not add routerinfo_ts. Bug found by weasel
svn:r10561
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 0c4438d655..7459de554c 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -2140,7 +2140,7 @@ routerlist_replace(routerlist_t *rl, routerinfo_t *ri_old, if (!tor_digest_is_zero(ri_new->cache_info.extra_info_digest)) { digestmap_set(rl->desc_by_eid_map, ri_new->cache_info.extra_info_digest, - ri_new); + &ri_new->cache_info); } if (make_old && get_options()->DirPort && |