]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Remove a now-needless test.
authorNick Mathewson <nickm@torproject.org>
Wed, 7 Sep 2011 18:18:32 +0000 (14:18 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 7 Sep 2011 18:18:32 +0000 (14:18 -0400)
src/or/circuitbuild.c

index 39a50abafb5b1989185a56fd0531493f0f3004ca..a66f3406cfb355c4cbb33371e189aab6ebdce146 100644 (file)
@@ -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 */