From: Nick Mathewson Date: Wed, 12 Nov 2003 03:48:33 +0000 (+0000) Subject: Restore erroneously removed assert X-Git-Tag: tor-0.0.2pre14~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99a6d48f62c0a0a6367b196634b8dfba6526cccf;p=thirdparty%2Ftor.git Restore erroneously removed assert svn:r796 --- diff --git a/src/or/circuit.c b/src/or/circuit.c index 970cc410fc..51d9cd1442 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -731,7 +731,7 @@ int circuit_send_next_onion_skin(circuit_t *circ) { routerinfo_t *router; int r; - assert(circ); + assert(circ && circ->cpath); if(circ->cpath->state == CPATH_STATE_CLOSED) {