summaryrefslogtreecommitdiff
path: root/src/or/connection.c
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2004-11-03 23:13:28 +0000
committerRoger Dingledine <arma@torproject.org>2004-11-03 23:13:28 +0000
commita4753283dd95a6399f65f8f439bad525702a08fc (patch)
treeec682e32a6971c65e49e36584d934682503aed14 /src/or/connection.c
parent5b312541d7d3fa20aca0c07aab5c4341fa779762 (diff)
downloadtor-a4753283dd95a6399f65f8f439bad525702a08fc.tar.gz
tor-a4753283dd95a6399f65f8f439bad525702a08fc.zip
better interface for connection_ap_handshake_socks_reply()
make --list-fingerprint print the fingerprint again svn:r2668
Diffstat (limited to 'src/or/connection.c')
-rw-r--r--src/or/connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection.c b/src/or/connection.c
index 7d3b4c43bc..0576069634 100644
--- a/src/or/connection.c
+++ b/src/or/connection.c
@@ -212,7 +212,7 @@ void connection_about_to_close_connection(connection_t *conn)
case CONN_TYPE_AP:
if (conn->socks_request->has_finished == 0) {
log_fn(LOG_INFO,"Cleaning up AP -- sending socks reject.");
- connection_ap_handshake_socks_reply(conn, NULL, 0, 0);
+ connection_ap_handshake_socks_reply(conn, NULL, 0, -1);
conn->socks_request->has_finished = 1;
conn->hold_open_until_flushed = 1;
} else {