]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
remove a duplicate circuit_mark_for_close() when picking
authorRoger Dingledine <arma@torproject.org>
Tue, 22 Mar 2005 23:20:33 +0000 (23:20 +0000)
committerRoger Dingledine <arma@torproject.org>
Tue, 22 Mar 2005 23:20:33 +0000 (23:20 +0000)
a path for the circuit fails.

svn:r3822

src/or/circuitbuild.c

index ce0127707a2e51315c59341938871eb935d95197..67babbb87ab503792d4c08915fb7309463b2e3b2 100644 (file)
@@ -238,7 +238,6 @@ again:
 //    || !CIRCUIT_IS_ORIGIN(circ)) { // wtf? -rd
   if (r < 0) {
     log_fn(LOG_INFO,"Generating cpath hop failed.");
-    circuit_mark_for_close(circ);
     return -1;
   }
   if (r == 0)