-fix compile error
authorChristian Grothoff <christian@grothoff.org>
Thu, 8 Jan 2015 17:46:17 +0000 (17:46 +0000)
committerChristian Grothoff <christian@grothoff.org>
Thu, 8 Jan 2015 17:46:17 +0000 (17:46 +0000)
src/rps/gnunet-service-rps.c

index 57fecb136f3ac4955b28e7f03e646fd9e3965e7a..51336ed2a6e1891357efa34dbfabde6cae7ce053 100644 (file)
@@ -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);