diff options
author | Roger Dingledine <arma@torproject.org> | 2004-04-14 04:32:49 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2004-04-14 04:32:49 +0000 |
commit | 465f0e528af50f02f727c5b6b17058cb90f25f39 (patch) | |
tree | 5e098b88326660ea463572993323a0e383f761cb /src/or/circuit.c | |
parent | ddd45a7c0a9651be81b67e812d8a63ffd2164ea0 (diff) | |
download | tor-465f0e528af50f02f727c5b6b17058cb90f25f39.tar tor-465f0e528af50f02f727c5b6b17058cb90f25f39.tar.gz |
call circuit_build_failed() even when the failure is immediate
svn:r1617
Diffstat (limited to 'src/or/circuit.c')
-rw-r--r-- | src/or/circuit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuit.c b/src/or/circuit.c index f6a73c643..d0fc81fec 100644 --- a/src/or/circuit.c +++ b/src/or/circuit.c @@ -969,7 +969,7 @@ int _circuit_mark_for_close(circuit_t *circ) { * links worked and which didn't. */ if (circ->state != CIRCUIT_STATE_OPEN) { - if(circ->cpath) //XXX + if(CIRCUIT_IS_ORIGIN(circ)) circuit_build_failed(circ); /* take actions if necessary */ circuit_rep_hist_note_result(circ); } |