[PATCH 2/9] server: Mark the async as pending in IOCTL_AFD_BIND.

Zebediah Figura zfigura at codeweavers.com
Thu Sep 2 19:08:47 CDT 2021


Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
 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)
-- 
2.33.0




More information about the wine-devel mailing list