diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-09-07 14:18:32 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-09-07 14:18:32 -0400 |
commit | d27874a4f22c7c1ad7b1c28f418f09ce268bb3a4 (patch) | |
tree | 2fa203a98746000f17392139f72a834bb5e3e7c9 /src/or/circuitbuild.c | |
parent | 0cb01f5c971e497706b209c3fe75aedd089e3c8a (diff) | |
download | tor-d27874a4f22c7c1ad7b1c28f418f09ce268bb3a4.tar.gz tor-d27874a4f22c7c1ad7b1c28f418f09ce268bb3a4.zip |
Remove a now-needless test.
Diffstat (limited to 'src/or/circuitbuild.c')
-rw-r--r-- | src/or/circuitbuild.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuitbuild.c b/src/or/circuitbuild.c index 39a50abafb..a66f3406cf 100644 --- a/src/or/circuitbuild.c +++ b/src/or/circuitbuild.c @@ -2653,8 +2653,7 @@ ap_stream_wants_exit_attention(connection_t *conn) return 0; entry = TO_ENTRY_CONN(conn); - if (conn->type == CONN_TYPE_AP && - conn->state == AP_CONN_STATE_CIRCUIT_WAIT && + if (conn->state == AP_CONN_STATE_CIRCUIT_WAIT && !conn->marked_for_close && !(entry->want_onehop) && /* ignore one-hop streams */ !(entry->use_begindir) && /* ignore targeted dir fetches */ |