From 79133b5a971cf4be81beb40b840993c93fbf27a5 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Sun, 18 Oct 2009 19:17:50 +0000 Subject: [PATCH] fix --- src/util/time.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/time.c b/src/util/time.c index 6d67363a8..90351138a 100644 --- a/src/util/time.c +++ b/src/util/time.c @@ -277,7 +277,7 @@ struct GNUNET_TIME_Relative GNUNET_TIME_calculate_eta (struct GNUNET_TIME_Absolu double exp; struct GNUNET_TIME_Relative ret; - GNUNET_break (finished > total); + GNUNET_break (finished <= total); if (finished >= total) return GNUNET_TIME_UNIT_ZERO; if (finished == 0) -- 2.25.1