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:
ef10ce2
)
-fix compile error
author
Christian Grothoff
<christian@grothoff.org>
Thu, 8 Jan 2015 17:46:17 +0000
(17:46 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Thu, 8 Jan 2015 17:46:17 +0000
(17:46 +0000)
src/rps/gnunet-service-rps.c
patch
|
blob
|
history
diff --git
a/src/rps/gnunet-service-rps.c
b/src/rps/gnunet-service-rps.c
index 57fecb136f3ac4955b28e7f03e646fd9e3965e7a..51336ed2a6e1891357efa34dbfabde6cae7ce053 100644
(file)
--- a/
src/rps/gnunet-service-rps.c
+++ b/
src/rps/gnunet-service-rps.c
@@
-789,7
+789,7
@@
do_round (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
time_next_round = GNUNET_TIME_relative_multiply (time_next_round, rand_delay);
time_next_round = GNUNET_TIME_relative_divide (time_next_round, UINT_MAX/10);
time_next_round = GNUNET_TIME_relative_add (time_next_round, half_round_interval);
- } while (GNUNET_TIME_
FOREVER_REL != time_next_round
);
+ } while (GNUNET_TIME_
UNIT_FOREVER_REL.rel_value_us != time_next_round.rel_value_us
);
/* Schedule next round */
do_round_task = GNUNET_SCHEDULER_add_delayed (round_interval, &do_round, NULL);