mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Merge remote-tracking branch 'tor-github/pr/2128/head'
This commit is contained in:
@@ -5937,7 +5937,7 @@ static int
|
||||
fd_is_nonblocking(tor_socket_t fd)
|
||||
{
|
||||
int flags = fcntl(fd, F_GETFL, 0);
|
||||
return (flags & O_NONBLOCK) == O_NONBLOCK;
|
||||
return (flags & O_NONBLOCK) != 0;
|
||||
}
|
||||
#endif /* !defined(_WIN32) */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user