Zebediah Figura : server: Mark the async as pending in IOCTL_AFD_BIND.
Module: wine Branch: master Commit: be3ff3d6588311132f4fe0121cd0a6b49ec249f9 URL: https://source.winehq.org/git/wine.git/?a=commit;h=be3ff3d6588311132f4fe0121... Author: Zebediah Figura <zfigura(a)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(a)codeweavers.com> Signed-off-by: Alexandre Julliard <julliard(a)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)
participants (1)
-
Alexandre Julliard