Commit 6fd97fca authored by Marc Hoersken's avatar Marc Hoersken
Browse files

sockfilt.c: zero initialize variable

parent 6a03f636
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 */