aboutsummaryrefslogtreecommitdiff
path: root/src/regex/gnunet-daemon-regexprofiler.c
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-02-04 15:56:11 +0000
committerBart Polot <bart@net.in.tum.de>2013-02-04 15:56:11 +0000
commitc895554bedd8577714d0ac4b6d9aade513f46c61 (patch)
treec9cf0614144d4373582de72efde06a47f9a41dba /src/regex/gnunet-daemon-regexprofiler.c
parent108c41ff3f700124252926a95ca8a788f966cea7 (diff)
downloadgnunet-c895554bedd8577714d0ac4b6d9aade513f46c61.tar.gz
gnunet-c895554bedd8577714d0ac4b6d9aade513f46c61.zip
- indentation
Diffstat (limited to 'src/regex/gnunet-daemon-regexprofiler.c')
-rw-r--r--src/regex/gnunet-daemon-regexprofiler.c22
1 files changed, 10 insertions, 12 deletions
diff --git a/src/regex/gnunet-daemon-regexprofiler.c b/src/regex/gnunet-daemon-regexprofiler.c
index ea508f9d2..591cda331 100644
--- a/src/regex/gnunet-daemon-regexprofiler.c
+++ b/src/regex/gnunet-daemon-regexprofiler.c
@@ -173,18 +173,16 @@ reannounce_regex (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc)
173 GNUNET_REGEX_reannounce (announce_handle); 173 GNUNET_REGEX_reannounce (announce_handle);
174 } 174 }
175 175
176 reannounce_task = GNUNET_SCHEDULER_add_delayed ( 176 reannounce_task =
177 GNUNET_TIME_relative_add (reannounce_freq, 177 GNUNET_SCHEDULER_add_delayed (
178 GNUNET_TIME_relative_multiply ( 178 GNUNET_TIME_relative_add (reannounce_freq,
179 GNUNET_TIME_UNIT_SECONDS, 179 GNUNET_TIME_relative_multiply (
180 GNUNET_CRYPTO_random_u32 ( 180 GNUNET_TIME_UNIT_SECONDS,
181 GNUNET_CRYPTO_QUALITY_WEAK, 181 GNUNET_CRYPTO_random_u32 (
182 600 182 GNUNET_CRYPTO_QUALITY_WEAK,
183 ) 183 600))),
184 ) 184 &reannounce_regex,
185 ), 185 cls);
186 &reannounce_regex,
187 cls);
188} 186}
189 187
190 188