Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=51726 Signed-off-by: Zebediah Figura zfigura@codeweavers.com --- server/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/sock.c b/server/sock.c index 3c5f2612b51..6452cfb0dd7 100644 --- a/server/sock.c +++ b/server/sock.c @@ -2905,7 +2905,7 @@ static void poll_socket( struct sock *poll_sock, struct async *async, timeout_t /* FIXME: do other error conditions deserve a similar treatment? */ if (sock->state != SOCK_CONNECTING && sock->errors[AFD_POLL_BIT_CONNECT_ERR] && (mask & AFD_POLL_CONNECT_ERR)) { - req->iosb->status = STATUS_SUCCESS; + signaled = TRUE; output[i].flags |= AFD_POLL_CONNECT_ERR; output[i].status = sock_get_ntstatus( sock->errors[AFD_POLL_BIT_CONNECT_ERR] ); }