diff options
Diffstat (limited to 'src/os/unix/ngx_socket.c')
-rw-r--r-- | src/os/unix/ngx_socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/unix/ngx_socket.c b/src/os/unix/ngx_socket.c index 60885ddd5..a93679f64 100644 --- a/src/os/unix/ngx_socket.c +++ b/src/os/unix/ngx_socket.c @@ -10,7 +10,7 @@ /* * ioctl(FIONBIO) sets a blocking mode with the single syscall - * while fcntl(F_SETFL, ~O_NONBLOCK) needs to learn before + * while fcntl(F_SETFL, !O_NONBLOCK) needs to learn before * the previous state using fcntl(F_GETFL). * * ioctl() and fcntl() are syscalls at least in FreeBSD 2.x, Linux 2.2 |