summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/or/connection_edge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 5367f03b7b..de17fce2ee 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -650,7 +650,7 @@ void connection_ap_handshake_socks_resolved(connection_t *conn,
set_uint16(buf+2, 0);
memcpy(buf+4, answer, 4); /* address */
replylen = SOCKS4_NETWORK_LEN;
- } else {
+ } else {
buf[1] = 91; /* "error" */
memset(buf+2, 0, 6);
replylen = SOCKS4_NETWORK_LEN;