diff options
Diffstat (limited to 'src/gns/test_gns_dht_three_peers.c')
-rw-r--r-- | src/gns/test_gns_dht_three_peers.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gns/test_gns_dht_three_peers.c b/src/gns/test_gns_dht_three_peers.c index 35a738aef..11f78db4b 100644 --- a/src/gns/test_gns_dht_three_peers.c +++ b/src/gns/test_gns_dht_three_peers.c | |||
@@ -250,12 +250,14 @@ on_lookup_result(void *cls, uint32_t rd_count, | |||
250 | end_now (); | 250 | end_now (); |
251 | } | 251 | } |
252 | 252 | ||
253 | |||
253 | static void | 254 | static void |
254 | commence_testing(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | 255 | commence_testing(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) |
255 | { | 256 | { |
256 | static int wait = 0; | 257 | static int wait = 0; |
258 | |||
257 | wait++; | 259 | wait++; |
258 | if ((ZONE_PUT_WAIT_TIME.rel_value / 1000) == wait) | 260 | if ((ZONE_PUT_WAIT_TIME.rel_value_us / 1000LL / 1000LL) == wait) |
259 | { | 261 | { |
260 | fprintf (stderr, "\n"); | 262 | fprintf (stderr, "\n"); |
261 | wait_task = GNUNET_SCHEDULER_NO_TASK; | 263 | wait_task = GNUNET_SCHEDULER_NO_TASK; |
@@ -274,6 +276,7 @@ commence_testing(void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
274 | } | 276 | } |
275 | } | 277 | } |
276 | 278 | ||
279 | |||
277 | void | 280 | void |
278 | all_connected () | 281 | all_connected () |
279 | { | 282 | { |