mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 13:13:44 +01:00
cfeafe5e77
On win64, sockets are of type UINT_PTR; on win32 they're u_int; elsewhere they're int. The correct windows way to check a socket for being set is to compare it with INVALID_SOCKET; elsewhere you see if it is negative. On Libevent 2, all callbacks take sockets as evutil_socket_t; we've been passing them int. This patch should fix compilation and correctness when built for 64-bit windows. Fixes bug 3270.
5 lines
118 B
Plaintext
5 lines
118 B
Plaintext
o Minor bugfixes
|
|
- Use a wide type to hold sockets when built for 64-bit Windows builds.
|
|
Fixes bug 3270.
|
|
|