ws2_32: Fix copy & paste error in fd_sets_to_poll (Coverity).

This commit is contained in:
Bruno Jesus 2015-04-05 11:48:57 -03:00 committed by Alexandre Julliard
parent 77a63b7245
commit 5c8aad8d76
1 changed files with 2 additions and 2 deletions

View File

@ -4625,7 +4625,7 @@ static struct pollfd *fd_sets_to_poll( const WS_fd_set *readfds, const WS_fd_set
}
else
{
release_sock_fd( readfds->fd_array[i], fds[j].fd );
release_sock_fd( writefds->fd_array[i], fds[j].fd );
fds[j].fd = -1;
fds[j].events = 0;
}
@ -4650,7 +4650,7 @@ static struct pollfd *fd_sets_to_poll( const WS_fd_set *readfds, const WS_fd_set
}
else
{
release_sock_fd( readfds->fd_array[i], fds[j].fd );
release_sock_fd( exceptfds->fd_array[i], fds[j].fd );
fds[j].fd = -1;
fds[j].events = 0;
}