summaryrefslogtreecommitdiff
path: root/src/or/rendclient.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-08 02:24:06 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-08 02:24:06 +0000
commit14e31fbd71f76d2dba50f4fd49af16e431aa26dd (patch)
tree2cca2bea423fb9530fa1b33a4258a649d10bbf1b /src/or/rendclient.c
parentad2192c90f11575180f90dbd1e4a9e3c81c3eb3f (diff)
downloadtor-14e31fbd71f76d2dba50f4fd49af16e431aa26dd.tar.gz
tor-14e31fbd71f76d2dba50f4fd49af16e431aa26dd.zip
Use CIRCUIT_IS_ORIGIN in favor of boolean circ->cpath
svn:r1555
Diffstat (limited to 'src/or/rendclient.c')
-rw-r--r--src/or/rendclient.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/rendclient.c b/src/or/rendclient.c
index bffe4cf0e9..540fa2b3f8 100644
--- a/src/or/rendclient.c
+++ b/src/or/rendclient.c
@@ -9,7 +9,7 @@ void
rend_client_introcirc_is_open(circuit_t *circ)
{
assert(circ->purpose == CIRCUIT_PURPOSE_C_INTRODUCING);
- assert(circ->cpath);
+ assert(CIRCUIT_IS_ORIGIN(circ) && circ->cpath);
log_fn(LOG_INFO,"introcirc is open");
connection_ap_attach_pending();
@@ -125,7 +125,7 @@ void
rend_client_rendcirc_is_open(circuit_t *circ)
{
assert(circ->purpose == CIRCUIT_PURPOSE_C_ESTABLISH_REND);
- assert(circ->cpath);
+ assert(CIRCUIT_IS_ORIGIN(circ));
log_fn(LOG_INFO,"rendcirc is open");