diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index ab8c7e5c3c..80a9d7a5cf 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -1163,7 +1163,8 @@ connection_ap_handshake_process_socks(connection_t *conn) log_debug(LD_APP,"entered."); - sockshere = fetch_from_buf_socks(conn->inbuf, socks, options->TestSocks); + sockshere = fetch_from_buf_socks(conn->inbuf, socks, + options->TestSocks, options->SafeSocks); if (sockshere == 0) { if (socks->replylen) { connection_write_to_buf(socks->reply, socks->replylen, conn);