Ver código fonte

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


svn:r3822

Roger Dingledine 20 anos atrás
pai
commit
ad5f5ddf7e
1 arquivos alterados com 0 adições e 1 exclusões
  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)