diff options
Diffstat (limited to 'src/regex/gnunet-daemon-regexprofiler.c')
-rw-r--r-- | src/regex/gnunet-daemon-regexprofiler.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/regex/gnunet-daemon-regexprofiler.c b/src/regex/gnunet-daemon-regexprofiler.c index fd6a97d07..711f7fa42 100644 --- a/src/regex/gnunet-daemon-regexprofiler.c +++ b/src/regex/gnunet-daemon-regexprofiler.c | |||
@@ -151,9 +151,11 @@ reannounce_regex (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
151 | (unsigned int) max_path_compression, | 151 | (unsigned int) max_path_compression, |
152 | stats_handle); | 152 | stats_handle); |
153 | } | 153 | } |
154 | /* Will result in a double first announce */ | 154 | else |
155 | GNUNET_assert (NULL != announce_handle); | 155 | { |
156 | GNUNET_REGEX_reannounce (announce_handle); | 156 | GNUNET_assert (NULL != announce_handle); |
157 | GNUNET_REGEX_reannounce (announce_handle); | ||
158 | } | ||
157 | 159 | ||
158 | random_delay = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, | 160 | random_delay = GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, |
159 | GNUNET_CRYPTO_random_u32 ( | 161 | GNUNET_CRYPTO_random_u32 ( |