diff options
author | Roger Dingledine <arma@torproject.org> | 2006-03-22 04:09:30 +0000 |
---|---|---|
committer | Roger Dingledine <arma@torproject.org> | 2006-03-22 04:09:30 +0000 |
commit | 6fb2b6785d0eb5d5ef0be06c78ed3bf4eba24184 (patch) | |
tree | 511b52749b02b756743431031f446d43940831c1 /src/or/circuituse.c | |
parent | 1db263ac3c4eeaa531727228a5c5075764905d7b (diff) | |
download | tor-6fb2b6785d0eb5d5ef0be06c78ed3bf4eba24184.tar.gz tor-6fb2b6785d0eb5d5ef0be06c78ed3bf4eba24184.zip |
whoops. inform circuits again when we failed to connect to their
first hop, so they don't have to time out.
svn:r6225
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r-- | src/or/circuituse.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c index 53642cf2b2..db42402785 100644 --- a/src/or/circuituse.c +++ b/src/or/circuituse.c @@ -516,7 +516,7 @@ circuit_about_to_close_connection(connection_t *conn) */ switch (conn->type) { case CONN_TYPE_OR: { - if (connection_state_is_open(conn)) { + if (!connection_state_is_open(conn)) { /* Inform any pending (not attached) circs that they should * give up. */ circuit_n_conn_done(conn, 0); |