Skip to content
Snippets Groups Projects
Commit 6363a7cc authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

r12538@Kushana: nickm | 2007-03-11 17:10:22 -0400

 Fix a lame assert, I hope.


svn:r9801
parent 7fedd6ab
No related branches found
No related tags found
No related merge requests found
......@@ -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));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment