[or-cvs] only call circuit_build_failed when we"re circ"s origin
Roger Dingledine
arma at seul.org
Thu Apr 8 02:22:28 UTC 2004
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
circuit.c
Log Message:
only call circuit_build_failed when we're circ's origin
Index: circuit.c
===================================================================
RCS file: /home/or/cvsroot/src/or/circuit.c,v
retrieving revision 1.196
retrieving revision 1.197
diff -u -d -r1.196 -r1.197
--- circuit.c 8 Apr 2004 01:55:21 -0000 1.196
+++ circuit.c 8 Apr 2004 02:22:26 -0000 1.197
@@ -873,7 +873,8 @@
* links worked and which didn't.
*/
if (circ->state != CIRCUIT_STATE_OPEN) {
- circuit_build_failed(circ); /* take actions if necessary */
+ if(circ->cpath) //XXX
+ circuit_build_failed(circ); /* take actions if necessary */
circuit_rep_hist_note_result(circ);
}
More information about the tor-commits
mailing list