diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-03-11 21:10:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-03-11 21:10:54 +0000 |
commit | 6363a7ccf51c48f95058d63e63aa329295cdf7c5 (patch) | |
tree | 364b84e76a51977ce7732f8ad1864c226ecc6f1f /src | |
parent | 7fedd6ab4e9914ddb1e0d011f11294b7932dbe17 (diff) | |
download | tor-6363a7ccf51c48f95058d63e63aa329295cdf7c5.tar.gz tor-6363a7ccf51c48f95058d63e63aa329295cdf7c5.zip |
r12538@Kushana: nickm | 2007-03-11 17:10:22 -0400
Fix a lame assert, I hope.
svn:r9801
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 9b8b8f5839..27398adc95 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1709,7 +1709,7 @@ routerlist_replace(routerlist_t *rl, routerinfo_t *ri_old, } ri_tmp = digestmap_set(rl->identity_map, ri_new->cache_info.identity_digest, ri_new); - tor_assert(!ri_tmp); + tor_assert(!ri_tmp || ri_tmp == ri_old); digestmap_set(rl->desc_digest_map, ri_new->cache_info.signed_descriptor_digest, &(ri_new->cache_info)); |