aboutsummaryrefslogtreecommitdiff
path: root/tests/server
diff options
context:
space:
mode:
Diffstat (limited to 'tests/server')
-rw-r--r--tests/server/sockfilt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/server/sockfilt.c b/tests/server/sockfilt.c
index 0ceaae216..c4073ad7d 100644
--- a/tests/server/sockfilt.c
+++ b/tests/server/sockfilt.c
@@ -738,6 +738,7 @@ static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
}
else {
/* try to handle the event with the WINSOCK2 functions */
+ wsanetevents.lNetworkEvents = 0;
error = WSAEnumNetworkEvents(fds, handle, &wsanetevents);
if(error != SOCKET_ERROR) {
/* remove from descriptor set if not ready for read/accept/close */