projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8c7d22
)
fix
author
Christian Grothoff
<christian@grothoff.org>
Sun, 18 Oct 2009 19:17:50 +0000
(19:17 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Sun, 18 Oct 2009 19:17:50 +0000
(19:17 +0000)
src/util/time.c
patch
|
blob
|
history
diff --git
a/src/util/time.c
b/src/util/time.c
index 6d67363a8fb9d368be39dfe431865486f47b6e3a..90351138adff090a8d879a9d244a94edc72e6401 100644
(file)
--- 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)