mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 14:51:11 +01:00
Use tor_socket_t, not unsigned, in tor-fw-helper-natmp.c
This commit is contained in:
parent
1e923dd2fb
commit
ee717f35c4
2 changed files with 4 additions and 1 deletions
3
changes/bug1983_win64
Normal file
3
changes/bug1983_win64
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
o Minor bugfixes
|
||||||
|
- Use an appropriate-width type for sockets in tor-fw-helper on
|
||||||
|
win664. Fixes bug 1983 at last. Bugfix on 0.2.3.9-alpha.
|
|
@ -87,7 +87,7 @@ tor_natpmp_cleanup(tor_fw_options_t *tor_fw_options, void *backend_state)
|
||||||
|
|
||||||
/** Use select() to wait until we can read on fd. */
|
/** Use select() to wait until we can read on fd. */
|
||||||
static int
|
static int
|
||||||
wait_until_fd_readable(unsigned int fd, struct timeval *timeout)
|
wait_until_fd_readable(tor_socket_t fd, struct timeval *timeout)
|
||||||
{
|
{
|
||||||
int r;
|
int r;
|
||||||
fd_set fds;
|
fd_set fds;
|
||||||
|
|
Loading…
Add table
Reference in a new issue