diff options
author | Marc Hoersken <info@marc-hoersken.de> | 2014-04-22 14:53:16 +0200 |
---|---|---|
committer | Marc Hoersken <info@marc-hoersken.de> | 2014-04-22 17:22:42 +0200 |
commit | 6fd97fca88fc54e661c8fdb89dcd41c2e08a05da (patch) | |
tree | 3386b57bfe0501f076fc0d7040081cef51845c22 /tests/server | |
parent | 6a03f6368fb3cb64fc29fcdcef543ac8990e33c0 (diff) |
sockfilt.c: zero initialize variable
Diffstat (limited to 'tests/server')
-rw-r--r-- | tests/server/sockfilt.c | 1 |
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 */ |