diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/or/circuitbuild.c | 2 | ||||
-rw-r--r-- | src/or/or.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 39e54bae3..8c5420962 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -791,7 +791,7 @@ circuit_extend(cell_t *cell, circuit_t *circ) return 0; } - tor_assert(circ->n_hop); + tor_assert(!circ->n_hop); /* Connection is already established. */ circ->n_conn = n_conn; log_debug(LD_CIRC,"n_conn is %s:%u", n_conn->_base.address,n_conn->_base.port); diff --git a/src/or/or.h b/src/or/or.h index 14f032fdd..8bc7cfab3 100644 --- a/src/or/or.h +++ b/src/or/or.h @@ -1784,7 +1784,7 @@ typedef struct circuit_t { circid_t n_circ_id; /** The hop to which we want to extend this ciruit. Should be NULL if - * the */ + * the circuit has attached to a connection. */ extend_info_t *n_hop; /** True iff we are waiting for n_conn_cells to become less full before |