Commit 95e1de82 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

server: Don't propagate STATUS_PENDING in get_next_console_request request.

parent c9e1b789
......@@ -2715,10 +2715,11 @@ DECL_HANDLER(get_next_console_request)
if (ioctl)
{
unsigned int status = req->status;
if (status == STATUS_PENDING) status = STATUS_INVALID_PARAMETER;
if (ioctl->async)
{
iosb = async_get_iosb( ioctl->async );
iosb->status = req->status;
iosb->status = status;
iosb->out_size = min( iosb->out_size, get_req_data_size() );
if (iosb->out_size)
{
......
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