misc cleanups

svn:r5428
This commit is contained in:
Roger Dingledine 2005-11-19 01:56:58 +00:00
parent f824fb5f83
commit 700c370a3b
2 changed files with 3 additions and 2 deletions

View file

@ -185,7 +185,7 @@ circuit_state_to_string(int state)
switch (state) {
case CIRCUIT_STATE_BUILDING: return "doing handshakes";
case CIRCUIT_STATE_ONIONSKIN_PENDING: return "processing the onion";
case CIRCUIT_STATE_OR_WAIT: return "connecting to firsthop";
case CIRCUIT_STATE_OR_WAIT: return "connecting to server";
case CIRCUIT_STATE_OPEN: return "open";
default:
warn(LD_BUG, "Bug: unknown circuit state %d", state);

View file

@ -227,7 +227,8 @@ command_process_create_cell(cell_t *cell, connection_t *conn)
}
}
/** Process a 'created' <b>cell</b> that just arrived from <b>conn</b>. Find the circuit
/** Process a 'created' <b>cell</b> that just arrived from <b>conn</b>.
* Find the circuit
* that it's intended for. If we're not the origin of the circuit, package
* the 'created' cell in an 'extended' relay cell and pass it back. If we
* are the origin of the circuit, send it to circuit_finish_handshake() to