comment assert for windows

This commit is contained in:
Anthony Minessale 2012-02-27 16:49:12 -06:00
parent 62c6855f28
commit 23645b6af2
1 changed files with 2 additions and 1 deletions

View File

@ -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)) {