Selaa lähdekoodia

remove a duplicate circuit_mark_for_close() when picking
a path for the circuit fails.


svn:r3822

Roger Dingledine 20 vuotta sitten
vanhempi
commit
ad5f5ddf7e
1 muutettua tiedostoa jossa 0 lisäystä ja 1 poistoa
  1. 0 1
      src/or/circuitbuild.c

+ 0 - 1
src/or/circuitbuild.c

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