[or-cvs] r10820: Comment one tor_assert (tor/trunk/src/or)
weasel at seul.org
weasel at seul.org
Thu Jul 12 17:37:48 UTC 2007
Author: weasel
Date: 2007-07-12 13:37:47 -0400 (Thu, 12 Jul 2007)
New Revision: 10820
Modified:
tor/trunk/src/or/routerlist.c
Log:
Comment one tor_assert
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-07-12 17:16:18 UTC (rev 10819)
+++ tor/trunk/src/or/routerlist.c 2007-07-12 17:37:47 UTC (rev 10820)
@@ -2139,6 +2139,7 @@
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.");
More information about the tor-commits
mailing list