sockfilt.c: zero initialize variable

This commit is contained in:
Marc Hoersken 2014-04-22 14:53:16 +02:00
parent 6a03f6368f
commit 6fd97fca88

View File

@ -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 */