diff options
Diffstat (limited to 'xrdpvr/xrdpvr.c')
| -rw-r--r-- | xrdpvr/xrdpvr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xrdpvr/xrdpvr.c b/xrdpvr/xrdpvr.c index a342a7e1..980a10d4 100644 --- a/xrdpvr/xrdpvr.c +++ b/xrdpvr/xrdpvr.c @@ -915,7 +915,7 @@ xrdpvr_write_to_client(void *channel, STREAM *s) rv = WTSVirtualChannelWrite(channel, &s->data[index], bytes_to_send, &bytes_written); - if (rv < 0) + if (rv == 0) { return -1; } |
