]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
remove some extra-verbose logs
authorRoger Dingledine <arma@torproject.org>
Mon, 17 Jan 2005 18:49:13 +0000 (18:49 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 17 Jan 2005 18:49:13 +0000 (18:49 +0000)
svn:r3361

src/or/circuitbuild.c
src/or/circuituse.c

index 868740fe0ad9fb2ad8be6576ec652718273f9ad5..33998ba8858051d5d8cf79362b8e35257460dc41 100644 (file)
@@ -1147,7 +1147,8 @@ circuit_append_new_hop(circuit_t *circ, char *nickname, const char *exit_digest)
   memcpy(circ->build_state->chosen_exit_digest, exit_digest, DIGEST_LEN);
   ++circ->build_state->desired_path_len;
   if (circuit_send_next_onion_skin(circ)<0) {
-    log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.",                                    circ->build_state->chosen_exit_name);
+    log_fn(LOG_WARN, "Couldn't extend circuit to new point '%s'.",
+           circ->build_state->chosen_exit_name);
     circuit_mark_for_close(circ);
     return -1;
   }
index a3adde59b1efbf774c461bfb455c841b274f8626..0298b72309a8f261ab31925dd64979fb1ea7058f 100644 (file)
@@ -198,6 +198,7 @@ void circuit_expire_building(time_t now) {
     if (victim->timestamp_created + MIN_SECONDS_BEFORE_EXPIRING_CIRC > now)
       continue; /* it's young still, don't mess with it */
 
+#if 0
     /* some debug logs, to help track bugs */
     if (victim->purpose >= CIRCUIT_PURPOSE_C_INTRODUCING &&
         victim->purpose <= CIRCUIT_PURPOSE_C_REND_READY_INTRO_ACKED) {
@@ -213,6 +214,7 @@ void circuit_expire_building(time_t now) {
                victim->n_circ_id,
                (int)(now - victim->timestamp_dirty));
     }
+#endif
 
     /* if circ is !open, or if it's open but purpose is a non-finished
      * intro or rend, then mark it for close */