aboutsummaryrefslogtreecommitdiff
path: root/src/util/time.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-10-18 19:17:50 +0000
committerChristian Grothoff <christian@grothoff.org>2009-10-18 19:17:50 +0000
commit79133b5a971cf4be81beb40b840993c93fbf27a5 (patch)
treea07f3bf955cae4be00564c86277f103c8d6aff68 /src/util/time.c
parentb8c7d227949955d07b34ecf9a3b8f7d7abbccf26 (diff)
downloadgnunet-79133b5a971cf4be81beb40b840993c93fbf27a5.tar.gz
gnunet-79133b5a971cf4be81beb40b840993c93fbf27a5.zip
fix
Diffstat (limited to 'src/util/time.c')
-rw-r--r--src/util/time.c2
1 files changed, 1 insertions, 1 deletions
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
277 double exp; 277 double exp;
278 struct GNUNET_TIME_Relative ret; 278 struct GNUNET_TIME_Relative ret;
279 279
280 GNUNET_break (finished > total); 280 GNUNET_break (finished <= total);
281 if (finished >= total) 281 if (finished >= total)
282 return GNUNET_TIME_UNIT_ZERO; 282 return GNUNET_TIME_UNIT_ZERO;
283 if (finished == 0) 283 if (finished == 0)