mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Use uint16_t, not in_port_t (which does not exist on Windows). See #17638.
This commit is contained in:
parent
5665775e8c
commit
a45aacd2e2
@ -1509,9 +1509,9 @@ tor_ersatz_socketpair(int family, int type, int protocol, tor_socket_t fd[2])
|
||||
tor_socket_t acceptor = TOR_INVALID_SOCKET;
|
||||
tor_addr_t listen_tor_addr;
|
||||
struct sockaddr listen_addr;
|
||||
in_port_t listen_port = 0;
|
||||
uint16_t listen_port = 0;
|
||||
tor_addr_t connect_tor_addr;
|
||||
in_port_t connect_port = 0;
|
||||
uint16_t connect_port = 0;
|
||||
struct sockaddr connect_addr;
|
||||
socklen_t size;
|
||||
int saved_errno = -1;
|
||||
|
Loading…
Reference in New Issue
Block a user