summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2003-11-17 01:23:15 +0000
committerRoger Dingledine <arma@torproject.org>2003-11-17 01:23:15 +0000
commit851b0933f53325f9198ad8a9e54ad23871f010cf (patch)
treee5f3ef797af8934999ca869bbf39c8c7ec25d65e
parent53ab33578749cde6c2800bdabd916d576be705dd (diff)
downloadtor-851b0933f53325f9198ad8a9e54ad23871f010cf.tar.gz
tor-851b0933f53325f9198ad8a9e54ad23871f010cf.zip
trivial bugfixes
svn:r821
-rw-r--r--src/or/circuit.c10
1 files 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;
}