server: Do not bother clearing events in IOCTL_AFD_LISTEN.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-06-10 19:36:28 -05:00 committed by Alexandre Julliard
parent 139e95df61
commit 00eb00f6d6
1 changed files with 0 additions and 2 deletions

View File

@ -1786,8 +1786,6 @@ static int sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
return 0;
}
sock->pending_events &= ~FD_ACCEPT;
sock->reported_events &= ~FD_ACCEPT;
sock->state = SOCK_LISTENING;
/* a listening socket can no longer be accepted into */