mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Resolve a warning from the bug1666 branch
This commit is contained in:
parent
1aab5b6b39
commit
e8bfe89365
@ -2166,7 +2166,8 @@ connection_ap_handshake_process_socks(edge_connection_t *conn)
|
||||
|
||||
if (socks->replylen) {
|
||||
had_reply = 1;
|
||||
connection_write_to_buf(socks->reply, socks->replylen, TO_CONN(conn));
|
||||
connection_write_to_buf((const char*)socks->reply, socks->replylen,
|
||||
TO_CONN(conn));
|
||||
socks->replylen = 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user