assert_cpath_ok has always been broken

re-disable it.


svn:r1864
This commit is contained in:
Roger Dingledine 2004-05-13 07:44:21 +00:00
parent ef561c0e42
commit d7815e85a7

View File

@ -423,6 +423,7 @@ static void
{
while(cp->prev)
cp = cp->prev;
//XXX this is broken. cp is a doubly linked list.
while(cp->next) {
assert_cpath_layer_ok(cp);
@ -478,7 +479,8 @@ void assert_circuit_ok(const circuit_t *c)
}
}
if (c->cpath) {
assert_cpath_ok(c->cpath);
// assert_cpath_ok(c->cpath);
// XXX the above call causes an infinite loop.
}
if (c->purpose == CIRCUIT_PURPOSE_REND_ESTABLISHED) {
if (!c->marked_for_close) {