Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nginx/nginx.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-02-17 22:53:52 +0300
committerIgor Sysoev <igor@sysoev.ru>2007-02-17 22:53:52 +0300
commitb4123b94ff3fe732c7df33ba6c010f0137d7d6e5 (patch)
tree4ec2d9faeb0a492ff5b3bf8e42b2e98e517d117c /src/os/unix/ngx_socket.c
parent5473662c947f3b140ae9f068e1635191fc71fca9 (diff)
ioctl FIONBIO uses int, so nginx did not work on big-endian 64-bit platforms
Diffstat (limited to 'src/os/unix/ngx_socket.c')
-rw-r--r--src/os/unix/ngx_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/os/unix/ngx_socket.c b/src/os/unix/ngx_socket.c
index c2fbc3bed..27ae48dc5 100644
--- a/src/os/unix/ngx_socket.c
+++ b/src/os/unix/ngx_socket.c
@@ -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;