summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-11-12 03:48:33 +0000
committerNick Mathewson <nickm@torproject.org>2003-11-12 03:48:33 +0000
commit99a6d48f62c0a0a6367b196634b8dfba6526cccf (patch)
tree502354abe81a48fbb3bbcc05212e73ab776481a5
parente0ad4d08be4a6096455ffbf76965256dab85ccc3 (diff)
downloadtor-99a6d48f62c0a0a6367b196634b8dfba6526cccf.tar.gz
tor-99a6d48f62c0a0a6367b196634b8dfba6526cccf.zip
Restore erroneously removed assert
svn:r796
-rw-r--r--src/or/circuit.c2
1 files changed, 1 insertions, 1 deletions
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) {