Comment one tor_assert

svn:r10820
This commit is contained in:
Peter Palfrader
2007-07-12 17:37:47 +00:00
parent ef6bc1a451
commit 2ce1cb22bd
+1
View File
@@ -2139,6 +2139,7 @@ routerlist_replace(routerlist_t *rl, routerinfo_t *ri_old,
smartlist_set(rl->routers, idx, ri_new);
ri_old->routerlist_index = -1;
ri_new->routerlist_index = idx;
/* Check that ri_old is not in rl->routers anymore: */
tor_assert( _routerlist_find_elt(rl->routers, ri_old, -1) == -1 );
} else {
log_warn(LD_BUG, "Appending entry from routerlist_replace.");