mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-01 18:13:38 +00:00
server: Mark the async as pending in IOCTL_AFD_BIND.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dd58bf9ce2
commit
be3ff3d658
|
@ -2527,6 +2527,8 @@ static int sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set_async_pending( async, 0 );
|
||||||
|
|
||||||
if (bind( unix_fd, &bind_addr.addr, unix_len ) < 0)
|
if (bind( unix_fd, &bind_addr.addr, unix_len ) < 0)
|
||||||
{
|
{
|
||||||
if (errno == EADDRINUSE)
|
if (errno == EADDRINUSE)
|
||||||
|
|
Loading…
Reference in a new issue