Commit 700c370a authored by Roger Dingledine's avatar Roger Dingledine
Browse files

misc cleanups


svn:r5428
parent f824fb5f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
+2 −1
Original line number Diff line number Diff line
@@ -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