server: Also clear pending events in set_socket_event.
commit609dfea1fde4deaefc5c67b2544c4a5cab987dd3
authorZebediah Figura <z.figura12@gmail.com>
Mon, 17 May 2021 02:45:50 +0000 (16 21:45 -0500)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 17 May 2021 15:42:15 +0000 (17 17:42 +0200)
treea40d4db3995ee61d117b4e1fae5e78e7b9880e44
parent226897bec73768f78c9ea2137c34d0df87c54fe2
server: Also clear pending events in set_socket_event.

In particular, prevent FD_CONNECT from being reported when not selected for.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
server/sock.c