summaryrefslogtreecommitdiff
path: root/src/or/circuituse.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-12-12 21:09:30 +0000
committerRoger Dingledine <arma@torproject.org>2006-12-12 21:09:30 +0000
commit477438e6c72c3b365a82706417da0ccab0c2bc3a (patch)
treef0810edbcb9914459562a0dd5004b49e70ef1141 /src/or/circuituse.c
parent1efd3774286e57f2faeaf37d66291a94c6aaab67 (diff)
downloadtor-477438e6c72c3b365a82706417da0ccab0c2bc3a.tar.gz
tor-477438e6c72c3b365a82706417da0ccab0c2bc3a.zip
a better fix. puts r8446 to bed.
svn:r9096
Diffstat (limited to 'src/or/circuituse.c')
-rw-r--r--src/or/circuituse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/circuituse.c b/src/or/circuituse.c
index 42d220f1d5..dd56c4621a 100644
--- a/src/or/circuituse.c
+++ b/src/or/circuituse.c
@@ -1182,8 +1182,7 @@ connection_ap_handshake_attach_circuit(edge_connection_t *conn)
}
return -1;
}
- if (!SOCKS_COMMAND_IS_RESOLVE(conn->socks_request->command) &&
- !connection_ap_can_use_exit(conn, router)) {
+ if (!connection_ap_can_use_exit(conn, router)) {
log_fn(opt ? LOG_INFO : LOG_WARN, LD_APP,
"Requested exit point '%s' would refuse request. %s.",
conn->chosen_exit_name, opt ? "Trying others" : "Closing");