Commit 9d1085c8 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

server: Always return Win32 error code from IOCTL_AFD_GET_SO_ERROR.

parent ecc607c6
......@@ -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;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment