We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4ab1c9a commit 4d8735bCopy full SHA for 4d8735b
tests/io-socket.c
@@ -54,6 +54,7 @@ task_server_entry (void *data)
54
/* accept */
55
cfd = hev_task_io_socket_accept (fd, NULL, NULL, NULL, NULL);
56
assert (cfd >= 0);
57
+ assert ((fcntl (cfd, F_GETFL) & O_NONBLOCK) == O_NONBLOCK);
58
59
assert (hev_task_add_fd (task, cfd, POLLIN | POLLOUT) == 0);
60
0 commit comments