From f5089681f795b435ec8a7454e2b91d8b3596a01b Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Sun, 16 Nov 2003 17:31:19 +0000 Subject: bugfix: if you recognize a relay cell, don't also pass it on. svn:r816 --- src/or/circuit.c | 1 + src/or/command.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/or/circuit.c b/src/or/circuit.c index 2190d1452f..7208489fac 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -258,6 +258,7 @@ int circuit_deliver_relay_cell(cell_t *cell, circuit_t *circ, return -1; } } + return 0; } ++stats_n_relay_cells_relayed; diff --git a/src/or/command.c b/src/or/command.c index 583ad5d469..b3302a301f 100644 --- a/src/or/command.c +++ b/src/or/command.c @@ -200,7 +200,7 @@ static void command_process_destroy_cell(cell_t *cell, connection_t *conn) { return; } - log_fn(LOG_DEBUG,"Received for circIDD %d.",cell->circ_id); + log_fn(LOG_DEBUG,"Received for circID %d.",cell->circ_id); if(circ->state == CIRCUIT_STATE_ONIONSKIN_PENDING) { onion_pending_remove(circ); } -- cgit v1.2.3-54-g00ecf