fix
authorChristian Grothoff <christian@grothoff.org>
Sun, 18 Oct 2009 19:17:50 +0000 (19:17 +0000)
committerChristian Grothoff <christian@grothoff.org>
Sun, 18 Oct 2009 19:17:50 +0000 (19:17 +0000)
src/util/time.c

index 6d67363a8fb9d368be39dfe431865486f47b6e3a..90351138adff090a8d879a9d244a94edc72e6401 100644 (file)
@@ -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)