diff options
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r-- | src/or/connection_edge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c index 2dae1868dd..84f80eb18d 100644 --- a/src/or/connection_edge.c +++ b/src/or/connection_edge.c @@ -236,7 +236,7 @@ connection_edge_end_errno(edge_connection_t *conn) { uint8_t reason; tor_assert(conn); - reason = (uint8_t)errno_to_end_stream_reason(tor_socket_errno(conn->_base.s)); + reason = (uint8_t)errno_to_stream_end_reason(tor_socket_errno(conn->_base.s)); return connection_edge_end(conn, reason); } @@ -2312,7 +2312,7 @@ connection_ap_handshake_socks_reply(edge_connection_t *conn, char *reply, { char buf[256]; socks5_reply_status_t status = - connection_edge_end_reason_socks5_response(endreason); + stream_end_reason_to_socks5_response(endreason); tor_assert(conn->socks_request); /* make sure it's an AP stream */ |