remove sleep

This commit is contained in:
jsorg71 2006-12-09 20:58:08 +00:00
parent f9e6578ed9
commit 345f21c86d

View File

@ -72,7 +72,7 @@ rdp_tcp_recv(struct rdp_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 @@ rdp_tcp_send(struct rdp_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
{