mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 18:47:07 +00:00
server: Always return Win32 error code from IOCTL_AFD_GET_SO_ERROR.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
This commit is contained in:
parent
ecc607c6da
commit
9d1085c8d3
|
@ -2804,12 +2804,13 @@ static void sock_ioctl( struct fd *fd, ioctl_code_t code, struct async *async )
|
|||
{
|
||||
if (sock->errors[i])
|
||||
{
|
||||
error = sock_get_error( sock->errors[i] );
|
||||
error = sock->errors[i];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
error = sock_get_error( error );
|
||||
set_reply_data( &error, sizeof(error) );
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue