[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] Restore erroneously removed assert



Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv20579/src/or

Modified Files:
	circuit.c 
Log Message:
Restore erroneously removed assert

Index: circuit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuit.c,v
retrieving revision 1.88
retrieving revision 1.89
diff -u -d -r1.88 -r1.89
--- circuit.c	12 Nov 2003 03:01:38 -0000	1.88
+++ circuit.c	12 Nov 2003 03:48:33 -0000	1.89
@@ -731,7 +731,7 @@
   routerinfo_t *router;
   int r;
 
-  assert(circ);
+  assert(circ && circ->cpath);
 
   if(circ->cpath->state == CPATH_STATE_CLOSED) {