summaryrefslogtreecommitdiffstats
path: root/vnc/vnc.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2006-12-10 02:33:18 +0000
committerjsorg71 <jsorg71>2006-12-10 02:33:18 +0000
commit78115f10e2399c9a85537678ede804e12e7e6ee9 (patch)
treed3d82e8ee80ccaab7201452fa3acbacbfb4a5446 /vnc/vnc.c
parent345f21c86d1138f725a59e5b75d153ab63282ab4 (diff)
downloadxrdp-proprietary-78115f10e2399c9a85537678ede804e12e7e6ee9.tar.gz
xrdp-proprietary-78115f10e2399c9a85537678ede804e12e7e6ee9.zip
remove sleep calls
Diffstat (limited to 'vnc/vnc.c')
-rw-r--r--vnc/vnc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/vnc/vnc.c b/vnc/vnc.c
index cf47b94e..bd91b0d8 100644
--- a/vnc/vnc.c
+++ b/vnc/vnc.c
@@ -59,7 +59,7 @@ lib_recv(struct vnc* v, char* data, int len)
{
return 1;
}
- g_sleep(1);
+ g_tcp_can_recv(v->sck, 10);
}
else
{
@@ -102,7 +102,7 @@ lib_send(struct vnc* v, char* data, int len)
{
return 1;
}
- g_sleep(1);
+ g_tcp_can_send(v->sck, 10);
}
else
{