diff options
author | speidy <speidy@gmail.com> | 2017-09-01 08:47:37 +0300 |
---|---|---|
committer | metalefty <meta@vmeta.jp> | 2017-09-13 11:18:41 +0900 |
commit | fad2c57cd6e2f45870ca7bbb6879cbe86ad85cbf (patch) | |
tree | 540fcaab0ec3eb7ca045ff2b23ba6b3563f11887 | |
parent | d15d32c593eaccac1061adfa36742c163f7410cc (diff) | |
download | xrdp-proprietary-fad2c57cd6e2f45870ca7bbb6879cbe86ad85cbf.tar.gz xrdp-proprietary-fad2c57cd6e2f45870ca7bbb6879cbe86ad85cbf.zip |
xrdpvr: adjust xrdpvr_write_to_client to xrdpapi API change
-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; } |