From 6fb2b6785d0eb5d5ef0be06c78ed3bf4eba24184 Mon Sep 17 00:00:00 2001 From: Roger Dingledine Date: Wed, 22 Mar 2006 04:09:30 +0000 Subject: [PATCH] whoops. inform circuits again when we failed to connect to their first hop, so they don't have to time out. svn:r6225 --- src/or/circuituse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);