929 |
} |
} |
930 |
|
|
931 |
/* Check if select() returned with one of the rdpdr file descriptors, and complete io if it did */ |
/* Check if select() returned with one of the rdpdr file descriptors, and complete io if it did */ |
932 |
void |
static void |
933 |
_rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out) |
_rdpdr_check_fds(fd_set * rfds, fd_set * wfds, BOOL timed_out) |
934 |
{ |
{ |
935 |
NTSTATUS status; |
NTSTATUS status; |
959 |
{ |
{ |
960 |
|
|
961 |
/* iv_timeout between 2 chars, send partial_len */ |
/* iv_timeout between 2 chars, send partial_len */ |
962 |
/*printf("RDPDR: IVT total %u bytes read of %u\n", iorq->partial_len, iorq->length);*/ |
/*printf("RDPDR: IVT total %u bytes read of %u\n", iorq->partial_len, iorq->length); */ |
963 |
rdpdr_send_completion(iorq->device, |
rdpdr_send_completion(iorq->device, |
964 |
iorq->id, STATUS_SUCCESS, |
iorq->id, STATUS_SUCCESS, |
965 |
iorq->partial_len, |
iorq->partial_len, |