]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
tiny changes i found in my sandbox
authorRoger Dingledine <arma@torproject.org>
Mon, 9 Aug 2010 22:50:49 +0000 (18:50 -0400)
committerRoger Dingledine <arma@torproject.org>
Mon, 9 Aug 2010 22:50:49 +0000 (18:50 -0400)
src/or/circuituse.c
src/or/connection_edge.c

index 63742da307b6749b35e5e614406bc1025b9733f9..4503e1d81729a574e17d822aa31360c3214e75dc 100644 (file)
@@ -719,7 +719,7 @@ circuit_expire_old_circuits_clientside(time_t now)
   }
 
   for (circ = global_circuitlist; circ; circ = circ->next) {
-    if (circ->marked_for_close || ! CIRCUIT_IS_ORIGIN(circ))
+    if (circ->marked_for_close || !CIRCUIT_IS_ORIGIN(circ))
       continue;
     /* If the circuit has been dirty for too long, and there are no streams
      * on it, mark it for close.
index 7522368c562686395eace0be7774a642044f9aab..e83028faefc57509436569e61ec07d24f49c0175 100644 (file)
@@ -2614,7 +2614,7 @@ connection_exit_begin_conn(cell_t *cell, circuit_t *circ)
     log_debug(LD_REND,"Finished assigning addr/port");
     n_stream->cpath_layer = origin_circ->cpath->prev; /* link it */
 
-    /* add it into the linked list of n_streams on this circuit */
+    /* add it into the linked list of p_streams on this circuit */
     n_stream->next_stream = origin_circ->p_streams;
     n_stream->on_circuit = circ;
     origin_circ->p_streams = n_stream;