From 851b0933f53325f9198ad8a9e54ad23871f010cf Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Mon, 17 Nov 2003 01:23:15 +0000 Subject: [PATCH] trivial bugfixes svn:r821 --- src/or/circuit.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/or/circuit.c b/src/or/circuit.c index 246c7ba1ff..3af2537813 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -17,10 +17,10 @@ unsigned long stats_n_relay_cells_delivered = 0; static circuit_t *global_circuitlist=NULL; char *circuit_state_to_string[] = { - "receiving the onion", /* 0 */ - "waiting to process create", /* 1 */ - "connecting to firsthop", /* 2 */ - "open" /* 3 */ + "doing handshakes", /* 0 */ + "processing the onion", /* 1 */ + "connecting to firsthop", /* 2 */ + "open" /* 3 */ }; /********* END VARIABLES ************/ @@ -297,7 +297,6 @@ int circuit_deliver_relay_cell(cell_t *cell, circuit_t *circ, return 0; } - ++stats_n_relay_cells_relayed; /* not recognized. pass it on. */ if(cell_direction == CELL_DIRECTION_OUT) conn = circ->n_conn; @@ -311,6 +310,7 @@ int circuit_deliver_relay_cell(cell_t *cell, circuit_t *circ, } log_fn(LOG_DEBUG,"Passing on unrecognized cell."); + ++stats_n_relay_cells_relayed; connection_or_write_cell_to_buf(cell, conn); return 0; }