mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-24 04:13:28 +01:00
Clean up a couple of style issues in the socks-client branch.
This commit is contained in:
parent
659fc13da5
commit
903f9ef50e
@ -1386,7 +1386,7 @@ connection_proxy_connect(connection_t *conn, int type)
|
||||
memcpy(buf + 4, &ip4addr, 4); /* addr */
|
||||
buf[8] = 0; /* userid (empty) */
|
||||
|
||||
connection_write_to_buf((char *)buf, sizeof buf, conn);
|
||||
connection_write_to_buf((char *)buf, sizeof(buf), conn);
|
||||
conn->proxy_state = PROXY_SOCKS4_WANT_CONNECT_OK;
|
||||
break;
|
||||
}
|
||||
|
@ -369,3 +369,4 @@ socks5_response_code_to_string(uint8_t code)
|
||||
return "unknown reason";
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user