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

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


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

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

server: Mark the async as pending in IOCTL_AFD_BIND.

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 1e31b806986..e06f914686e 100644
--- a/server/sock.c
+++ b/server/sock.c
@@ -2527,6 +2527,8 @@ static int sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
 #endif
         }
 
+        set_async_pending( async, 0 );
+
         if (bind( unix_fd, &bind_addr.addr, unix_len ) < 0)
         {
             if (errno == EADDRINUSE)




More information about the wine-cvs mailing list