From 63a742b2a77416bbe6a40a1500fd18f6caa23aca Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 6 Jun 2002 19:52:59 +0000 Subject: [PATCH] Added 5 seconds pause after an error --- mbtask/ping.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mbtask/ping.c b/mbtask/ping.c index 4fe8fc68..fd74f5ba 100644 --- a/mbtask/ping.c +++ b/mbtask/ping.c @@ -407,7 +407,8 @@ void check_ping(void) rescan = TRUE; } } - pingstate = P_SENT; + pingtime = time(NULL) + 5; // 5 secs pause until next ping + pingstate = P_PAUSE; break; } }