aboutsummaryrefslogtreecommitdiff
path: root/src/rps
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-01-08 17:46:17 +0000
committerChristian Grothoff <christian@grothoff.org>2015-01-08 17:46:17 +0000
commit7ac778d075ddde3743f426a5fd8d2e06e1a12796 (patch)
tree0a97c912faf0e6544aa3212485ffb2a1ef5cdeab /src/rps
parentef10ce23530f6cc3339c74fdb9ddb5298b50e8ca (diff)
downloadgnunet-7ac778d075ddde3743f426a5fd8d2e06e1a12796.tar.gz
gnunet-7ac778d075ddde3743f426a5fd8d2e06e1a12796.zip
-fix compile error
Diffstat (limited to 'src/rps')
-rw-r--r--src/rps/gnunet-service-rps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rps/gnunet-service-rps.c b/src/rps/gnunet-service-rps.c
index 57fecb136..51336ed2a 100644
--- 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)
789 time_next_round = GNUNET_TIME_relative_multiply (time_next_round, rand_delay); 789 time_next_round = GNUNET_TIME_relative_multiply (time_next_round, rand_delay);
790 time_next_round = GNUNET_TIME_relative_divide (time_next_round, UINT_MAX/10); 790 time_next_round = GNUNET_TIME_relative_divide (time_next_round, UINT_MAX/10);
791 time_next_round = GNUNET_TIME_relative_add (time_next_round, half_round_interval); 791 time_next_round = GNUNET_TIME_relative_add (time_next_round, half_round_interval);
792 } while (GNUNET_TIME_FOREVER_REL != time_next_round); 792 } while (GNUNET_TIME_UNIT_FOREVER_REL.rel_value_us != time_next_round.rel_value_us);
793 793
794 /* Schedule next round */ 794 /* Schedule next round */
795 do_round_task = GNUNET_SCHEDULER_add_delayed (round_interval, &do_round, NULL); 795 do_round_task = GNUNET_SCHEDULER_add_delayed (round_interval, &do_round, NULL);