From d7eada56c9166f1eb2e50eaef5cbc81d766d37d5 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sun, 10 Dec 2006 03:07:34 +0000 Subject: [PATCH] remove sleep calls --- xup/xup.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xup/xup.c b/xup/xup.c index b0813d77..8aea8c83 100644 --- a/xup/xup.c +++ b/xup/xup.c @@ -44,7 +44,7 @@ lib_recv(struct mod* mod, char* data, int len) { return 1; } - g_sleep(1); + g_tcp_can_recv(mod->sck, 10); } else { @@ -87,7 +87,7 @@ lib_send(struct mod* mod, char* data, int len) { return 1; } - g_sleep(1); + g_tcp_can_send(mod->sck, 10); } else {