Merge pull request #1464 from chipitsine/devel
xrdpvr/xrdpvr.c: remove redundant condition
This commit is contained in:
commit
677056e3c2
@ -923,11 +923,6 @@ xrdpvr_write_to_client(void *channel, STREAM *s)
|
|||||||
index += bytes_written;
|
index += bytes_written;
|
||||||
bytes_to_send -= bytes_written;
|
bytes_to_send -= bytes_written;
|
||||||
|
|
||||||
if ((rv == 0) && (bytes_to_send == 0))
|
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
usleep(1000 * 3);
|
usleep(1000 * 3);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user