mirror of
https://github.com/nginx/nginx.git
synced 2024-11-29 12:14:27 -06:00
ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms
This commit is contained in:
parent
5473662c94
commit
b4123b94ff
@ -25,7 +25,7 @@
|
||||
int
|
||||
ngx_nonblocking(ngx_socket_t s)
|
||||
{
|
||||
u_long nb;
|
||||
int nb;
|
||||
|
||||
nb = 1;
|
||||
|
||||
@ -36,7 +36,7 @@ ngx_nonblocking(ngx_socket_t s)
|
||||
int
|
||||
ngx_blocking(ngx_socket_t s)
|
||||
{
|
||||
u_long nb;
|
||||
int nb;
|
||||
|
||||
nb = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user