mirror of
https://github.com/curl/curl.git
synced 2026-08-25 12:53:33 +03:00
sockfilt.c: zero initialize variable
This commit is contained in:
parent
6a03f6368f
commit
6fd97fca88
1 changed files with 1 additions and 0 deletions
|
|
@ -738,6 +738,7 @@ static int select_ws(int nfds, fd_set *readfds, fd_set *writefds,
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
/* try to handle the event with the WINSOCK2 functions */
|
/* try to handle the event with the WINSOCK2 functions */
|
||||||
|
wsanetevents.lNetworkEvents = 0;
|
||||||
error = WSAEnumNetworkEvents(fds, handle, &wsanetevents);
|
error = WSAEnumNetworkEvents(fds, handle, &wsanetevents);
|
||||||
if(error != SOCKET_ERROR) {
|
if(error != SOCKET_ERROR) {
|
||||||
/* remove from descriptor set if not ready for read/accept/close */
|
/* remove from descriptor set if not ready for read/accept/close */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue