From d7815e85a79d752d2460b18884c0db859c0d0a18 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Thu, 13 May 2004 07:44:21 +0000 Subject: [PATCH] assert_cpath_ok has always been broken re-disable it. svn:r1864 --- src/or/circuitlist.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/or/circuitlist.c b/src/or/circuitlist.c index 33066cf743..81926e8e36 100644 --- a/src/or/circuitlist.c +++ b/src/or/circuitlist.c @@ -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) {