From 498acc6853fe633374142d58feb11495064d1430 Mon Sep 17 00:00:00 2001 From: "Costa Tsaousis (ktsaou)" Date: Wed, 2 Nov 2016 09:19:02 +0200 Subject: [PATCH] removed fix for 100% cpu time --- src/fping.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/fping.c b/src/fping.c index acefc6a..205638a 100644 --- a/src/fping.c +++ b/src/fping.c @@ -1101,8 +1101,6 @@ void main_loop() /* Make sure we don't wait too long, in case a report is expected */ if( report_interval && ( loop_flag || count_flag ) ) { wait_time_next_report = timeval_diff ( ¤t_time, &next_report_time ); - if(wait_time_next_report < 0) - wait_time_next_report = -wait_time_next_report; if(wait_time_next_report < wait_time) { wait_time = wait_time_next_report; if(wait_time < 0) { wait_time = 0; } -- 2.43.0