Zebediah Figura : server: Mark the async as pending in IOCTL_AFD_EVENT_SELECT.

Alexandre Julliard julliard at winehq.org
Fri Sep 3 16:25:29 CDT 2021


Module: wine
Branch: master
Commit: 285700a52640762756e0b9186fb218915316b04e
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=285700a52640762756e0b9186fb218915316b04e

Author: Zebediah Figura <zfigura at codeweavers.com>
Date:   Thu Sep  2 19:08:48 2021 -0500

server: Mark the async as pending in IOCTL_AFD_EVENT_SELECT.

Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 server/sock.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/sock.c b/server/sock.c
index e06f914686e..bf109eb781a 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -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();




More information about the wine-cvs mailing list