Browse Source

Remove a now-needless test.

Nick Mathewson 14 years ago
parent
commit
d27874a4f2
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/or/circuitbuild.c

+ 1 - 2
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 */