From ee12fbdb5f20671c4e6dafe6a94bd8c2d4d9afe7 Mon Sep 17 00:00:00 2001 From: Benjamin Sergeant Date: Sun, 27 Jan 2019 10:46:02 -0800 Subject: [PATCH] windows build fix --- ixwebsocket/IXSocket.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ixwebsocket/IXSocket.cpp b/ixwebsocket/IXSocket.cpp index 1b676905..40fb0b31 100644 --- a/ixwebsocket/IXSocket.cpp +++ b/ixwebsocket/IXSocket.cpp @@ -52,11 +52,11 @@ namespace ix struct pollfd fds[nfds]; fds[0].fd = _sockfd; - fds[0].events = POLLIN | POLLHUP | POLLERR; + fds[0].events = POLLIN; #ifdef __linux__ fds[1].fd = _eventfd.getFd(); - fds[1].events = POLLIN | POLLHUP | POLLERR; + fds[1].events = POLLIN; #endif int ret = ::poll(fds, nfds, timeoutSecs * 1000);