comment assert for windows
This commit is contained in:
parent
62c6855f28
commit
23645b6af2
|
@ -741,9 +741,10 @@ ESL_DECLARE(int) esl_wait_sock(esl_socket_t sock, uint32_t ms, esl_poll_t flags)
|
||||||
FD_ZERO(&wfds);
|
FD_ZERO(&wfds);
|
||||||
FD_ZERO(&efds);
|
FD_ZERO(&efds);
|
||||||
|
|
||||||
|
#ifdef WIN32
|
||||||
/* Wouldn't you rather know?? */
|
/* Wouldn't you rather know?? */
|
||||||
assert(sock <= FD_SETSIZE);
|
assert(sock <= FD_SETSIZE);
|
||||||
|
#endif
|
||||||
|
|
||||||
if ((flags & ESL_POLL_READ)) {
|
if ((flags & ESL_POLL_READ)) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue