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>2004-06-15 11:55:11 +0400
committerIgor Sysoev <igor@sysoev.ru>2004-06-15 11:55:11 +0400
commit87350f269da4d82f2436aac91ae87fbd37ca6c16 (patch)
tree153b5d7d6bea91ad891de5168dd27d39e0082f66 /src/os/unix/ngx_socket.c
parentf07f63ae46345eb2aa8a433b0bf48947d6cff95e (diff)
nginx-0.0.7-2004-06-15-11:55:11 import
Diffstat (limited to 'src/os/unix/ngx_socket.c')
-rw-r--r--src/os/unix/ngx_socket.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/os/unix/ngx_socket.c b/src/os/unix/ngx_socket.c
index 443c93bbf..da9ccbbd0 100644
--- a/src/os/unix/ngx_socket.c
+++ b/src/os/unix/ngx_socket.c
@@ -19,7 +19,9 @@
int ngx_nonblocking(ngx_socket_t s)
{
- unsigned long nb = 1;
+ u_long nb;
+
+ nb = 1;
return ioctl(s, FIONBIO, &nb);
}
@@ -27,7 +29,9 @@ int ngx_nonblocking(ngx_socket_t s)
int ngx_blocking(ngx_socket_t s)
{
- unsigned long nb = 0;
+ u_long nb;
+
+ nb = 0;
return ioctl(s, FIONBIO, &nb);
}