]> git.kaiwu.me - nginx.git/commitdiff
fix comment
authorIgor Sysoev <igor@sysoev.ru>
Fri, 22 Sep 2006 12:19:02 +0000 (12:19 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 22 Sep 2006 12:19:02 +0000 (12:19 +0000)
src/os/unix/ngx_socket.c

index a93679f64b127d0b1a9547a224d65b0f16903a30..c2fbc3bed601c49203d962549dce4d5ea8fbbab7 100644 (file)
@@ -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.