Quellcode durchsuchen

misc cleanups

svn:r5428
Roger Dingledine vor 18 Jahren
Ursprung
Commit
700c370a3b
2 geänderte Dateien mit 3 neuen und 2 gelöschten Zeilen
  1. 1 1
      src/or/circuitlist.c
  2. 2 1
      src/or/command.c

+ 1 - 1
src/or/circuitlist.c

@@ -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
src/or/command.c

@@ -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