Commit 4f4fee53 authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

ntdll: Return STATUS_DEVICE_NOT_READY instead of STATUS_PENDING from try_transmit().

async_transmit_proc() expects the former. Fixes: 1eb56b20Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 455b707e
......@@ -1017,7 +1017,7 @@ static NTSTATUS try_transmit( int sock_fd, int file_fd, struct async_transmit_io
if (ret < read_size || (async->file_len && async->file_cursor == async->file_len))
async->file = NULL;
return STATUS_PENDING; /* still more data to send */
return STATUS_DEVICE_NOT_READY; /* still more data to send */
}
while (async->tail_cursor < async->buffers.TailLength)
......
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