aboutsummaryrefslogtreecommitdiff
path: root/src/or/circuit.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-02-28 04:48:46 +0000
committerRoger Dingledine <arma@torproject.org>2004-02-28 04:48:46 +0000
commit3a1a6bb09eeb84376151e4f84dbc063cad5bc21f (patch)
tree321c962105f7903c914fe0719e83c1fa5b98c307 /src/or/circuit.c
parente59f19ca034361560d0fa332eb291961c63c1cea (diff)
downloadtor-3a1a6bb09eeb84376151e4f84dbc063cad5bc21f.tar
tor-3a1a6bb09eeb84376151e4f84dbc063cad5bc21f.tar.gz
if a relay cell is unrecognized at the end of the circuit,
send back a destroy svn:r1153
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 9ba946f30..13145c029 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.");