Commit ad2192c9 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

only call circuit_build_failed when we're circ's origin


svn:r1554
parent 36d7cc85
Loading
Loading
Loading
Loading
+1 −0
Changes for src/or/circuit.c: 1 added line, 0 removed lines.
Original line number Diff line number Diff line
@@ -873,6 +873,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
      circuit_build_failed(circ); /* take actions if necessary */
    circuit_rep_hist_note_result(circ);
  }