ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms

This commit is contained in:
Igor Sysoev 2007-02-17 19:53:52 +00:00
parent 5473662c94
commit b4123b94ff

View File

@ -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;