server: Don't propagate STATUS_PENDING in get_next_console_request request.
Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
c9e1b789d2
commit
95e1de8215
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue