ntdll: Return STATUS_DEVICE_NOT_READY instead of STATUS_PENDING from try_transmit().
async_transmit_proc() expects the former.
Fixes: 1eb56b20ba
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
455b707ea2
commit
4f4fee53a6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue