aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-09-07 08:58:33 +0000
committerChristian Grothoff <christian@grothoff.org>2010-09-07 08:58:33 +0000
commit9d8fd65fa5a25ac4bd5d65d1be8b07427069ca65 (patch)
tree24e4180edf72b7938ea9714d5886654266bb2e0a /src/fs/fs_test_lib.c
parent78424fb78bf9f9ca4838d8c021adb17da9028ee6 (diff)
downloadgnunet-9d8fd65fa5a25ac4bd5d65d1be8b07427069ca65.tar.gz
gnunet-9d8fd65fa5a25ac4bd5d65d1be8b07427069ca65.zip
fix
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index 9f82608ed..aeb0bde06 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -328,12 +328,16 @@ start_timeout (void *cls,
328 struct StartContext *sctx = cls; 328 struct StartContext *sctx = cls;
329 unsigned int i; 329 unsigned int i;
330 330
331 GNUNET_TESTING_daemons_stop (sctx->group, GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30), &shutdown_callback, NULL); 331 GNUNET_TESTING_daemons_stop (sctx->group,
332 GNUNET_TIME_relative_multiply(GNUNET_TIME_UNIT_SECONDS, 30),
333 &shutdown_callback,
334 NULL);
332 for (i=0;i<sctx->total;i++) 335 for (i=0;i<sctx->total;i++)
333 { 336 {
334 if (i < sctx->have) 337 if (i < sctx->have)
335 GNUNET_CONFIGURATION_destroy (sctx->daemons[i]->cfg); 338 GNUNET_CONFIGURATION_destroy (sctx->daemons[i]->cfg);
336 GNUNET_free (sctx->daemons[i]); 339 GNUNET_free (sctx->daemons[i]);
340 sctx->daemons[i] = NULL;
337 } 341 }
338 GNUNET_CONFIGURATION_destroy (sctx->cfg); 342 GNUNET_CONFIGURATION_destroy (sctx->cfg);
339 GNUNET_SCHEDULER_add_continuation (sctx->sched, 343 GNUNET_SCHEDULER_add_continuation (sctx->sched,