summaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/circuit.c')
-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 9ba946f300..13145c029c 100644
--- a/src/or/circuit.c
+++ b/src/or/circuit.c
@@ -439,7 +439,7 @@ int circuit_receive_relay_cell(cell_t *cell, circuit_t *circ,
if(!conn) {
log_fn(LOG_WARN,"Didn't recognize cell, but circ stops here! Dropping.");
- return 0; /* XXX if this warning never triggers, then return -1 */
+ return -1;
}
log_fn(LOG_DEBUG,"Passing on unrecognized cell.");