# HG changeset patch # User Igor Sysoev # Date 1158927542 0 # Node ID 926db7d6748a51b3f9b61b73c56e759db75dc393 # Parent e1d119bf503352dc0f5a86371259f6b46ee38280 fix comment diff -r e1d119bf5033 -r 926db7d6748a src/os/unix/ngx_socket.c --- a/src/os/unix/ngx_socket.c Mon Sep 18 14:36:19 2006 +0000 +++ b/src/os/unix/ngx_socket.c Fri Sep 22 12:19:02 2006 +0000 @@ -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.