server: Mark the async as pending in IOCTL_AFD_EVENT_SELECT.

Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2021-09-02 19:08:48 -05:00 committed by Alexandre Julliard
parent be3ff3d658
commit 285700a526
1 changed files with 2 additions and 0 deletions

View File

@ -2398,6 +2398,8 @@ static int sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
obj_handle_t event_handle;
int mask;
set_async_pending( async, 0 );
if (is_machine_64bit( current->process->machine ))
{
const struct afd_event_select_params_64 *params = get_req_data();