mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
r12808@catbus: nickm | 2007-05-19 14:48:51 -0400
Fix another consistency error. svn:r10221
This commit is contained in:
parent
48e30ce2c7
commit
4d3ec5919e
@ -1885,6 +1885,8 @@ routerlist_remove(routerlist_t *rl, routerinfo_t *ri, int idx, int make_old)
|
||||
sd = signed_descriptor_from_routerinfo(ri);
|
||||
smartlist_add(rl->old_routers, sd);
|
||||
digestmap_set(rl->desc_digest_map, sd->signed_descriptor_digest, sd);
|
||||
if (!tor_digest_is_zero(sd->extra_info_digest))
|
||||
digestmap_set(rl->desc_by_eid_map, sd->extra_info_digest, sd);
|
||||
} else {
|
||||
ri_tmp = digestmap_remove(rl->desc_digest_map,
|
||||
ri->cache_info.signed_descriptor_digest);
|
||||
|
Loading…
Reference in New Issue
Block a user