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>2006-09-22 16:19:02 +0400
committerIgor Sysoev <igor@sysoev.ru>2006-09-22 16:19:02 +0400
commitb2bd26e07973d33244313e69939368c503ff5dbf (patch)
treebb1fe467c7d1e5336c18a903d96ab422d6871831 /src/os/unix/ngx_socket.c
parent42af0b7c62dcb1f55c5a032673ff9b9c5935da08 (diff)
fix comment
Diffstat (limited to 'src/os/unix/ngx_socket.c')
-rw-r--r--src/os/unix/ngx_socket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/os/unix/ngx_socket.c b/src/os/unix/ngx_socket.c
index a93679f64..c2fbc3bed 100644
--- a/src/os/unix/ngx_socket.c
+++ b/src/os/unix/ngx_socket.c
@@ -9,9 +9,9 @@
/*
- * ioctl(FIONBIO) sets a blocking mode with the single syscall
- * while fcntl(F_SETFL, !O_NONBLOCK) needs to learn before
- * the previous state using fcntl(F_GETFL).
+ * ioctl(FIONBIO) sets a non-blocking mode with the single syscall
+ * while fcntl(F_SETFL, O_NONBLOCK) needs to learn the current state
+ * using fcntl(F_GETFL).
*
* ioctl() and fcntl() are syscalls at least in FreeBSD 2.x, Linux 2.2
* and Solaris 7.