[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] reenable part of assert_circuit_ok, leave some still disabled
- To: or-cvs@freehaven.net
- Subject: [or-cvs] reenable part of assert_circuit_ok, leave some still disabled
- From: arma@seul.org (Roger Dingledine)
- Date: Tue, 2 Mar 2004 23:11:21 -0500 (EST)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Tue, 02 Mar 2004 23:11:36 -0500
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
circuit.c
Log Message:
reenable part of assert_circuit_ok, leave some still disabled
Index: circuit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuit.c,v
retrieving revision 1.148
retrieving revision 1.149
diff -u -d -r1.148 -r1.149
--- circuit.c 3 Mar 2004 02:24:17 -0000 1.148
+++ circuit.c 3 Mar 2004 04:11:18 -0000 1.149
@@ -1268,15 +1268,13 @@
assert(c);
assert(c->magic == CIRCUIT_MAGIC);
-
- return;
if (c->n_conn)
assert(c->n_conn->type == CONN_TYPE_OR);
if (c->p_conn)
assert(c->p_conn->type == CONN_TYPE_OR);
for (conn = c->p_streams; conn; conn = conn->next_stream)
- assert(c->p_conn->type == CONN_TYPE_AP);
+ assert(conn->type == CONN_TYPE_AP);
for (conn = c->n_streams; conn; conn = conn->next_stream)
assert(conn->type == CONN_TYPE_EXIT);
@@ -1296,7 +1294,7 @@
}
}
if (c->cpath) {
- assert_cpath_ok(c->cpath);
+//XXX assert_cpath_ok(c->cpath);
}
}