windows plat correct assert test in lws_poll_listen_fd
After https://github.com/warmcat/libwebsockets/issues/430 Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
parent
d7fddadaec
commit
3d4353650c
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ LWS_VISIBLE int lws_poll_listen_fd(struct lws_pollfd *fd)
|
|||
fd_set readfds;
|
||||
struct timeval tv = { 0, 0 };
|
||||
|
||||
assert(fd->events == LWS_POLLIN);
|
||||
assert((fd->events & LWS_POLLIN) == LWS_POLLIN);
|
||||
|
||||
FD_ZERO(&readfds);
|
||||
FD_SET(fd->fd, &readfds);
|
||||
|
|
Loading…
Add table
Reference in a new issue