mirror of https://github.com/neutrinolabs/xrdp
xrdpvr: adjust xrdpvr_write_to_client to xrdpapi API change
This commit is contained in:
parent
d15d32c593
commit
fad2c57cd6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue