fix paul gardner's assert bug.
commit24f9946db160f9c2a0a769073013507f30e8346c
authorRoger Dingledine <arma@torproject.org>
Mon, 11 Oct 2004 22:19:12 +0000 (11 22:19 +0000)
committerRoger Dingledine <arma@torproject.org>
Mon, 11 Oct 2004 22:19:12 +0000 (11 22:19 +0000)
tree11c52adc4995d90b38796c7e80f125b696a8e747
parent5c53c63aa0f9e98e5aec61311a898bb76df3849a
fix paul gardner's assert bug.
sometimes circuit_get_open_circ_or_launch() can return 0 but not
return a circuit, e.g. because too many circuits have failed recently
so the new one didn't launch. we need to tolerate that.

svn:r2438
src/or/circuituse.c