diff options
author | jsorg71 <jsorg71> | 2006-12-09 20:53:48 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2006-12-09 20:53:48 +0000 |
commit | f9e6578ed9332c3bb0fab40d703058ad11988b83 (patch) | |
tree | 240f3910f4de07af04de1245a3b4d21ebab9cb87 /libxrdp | |
parent | ea3f8ba0b7f085d23aa6f05f0ca418da6524490b (diff) | |
download | xrdp-proprietary-f9e6578ed9332c3bb0fab40d703058ad11988b83.tar.gz xrdp-proprietary-f9e6578ed9332c3bb0fab40d703058ad11988b83.zip |
removed sleep calls from xrdp_tcp
Diffstat (limited to 'libxrdp')
-rw-r--r-- | libxrdp/xrdp_tcp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libxrdp/xrdp_tcp.c b/libxrdp/xrdp_tcp.c index c3629a46..1d1effc2 100644 --- a/libxrdp/xrdp_tcp.c +++ b/libxrdp/xrdp_tcp.c @@ -72,7 +72,7 @@ xrdp_tcp_recv(struct xrdp_tcp* self, struct stream* s, int len) { if (g_tcp_last_error_would_block(self->sck)) { - g_sleep(1); + g_tcp_can_recv(self->sck, 10); } else { @@ -121,7 +121,7 @@ xrdp_tcp_send(struct xrdp_tcp* self, struct stream* s) { if (g_tcp_last_error_would_block(self->sck)) { - g_sleep(1); + g_tcp_can_send(self->sck, 10); } else { |