diff options
Diffstat (limited to 'src/fs/test_fs_collection.c')
-rw-r--r-- | src/fs/test_fs_collection.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/fs/test_fs_collection.c b/src/fs/test_fs_collection.c index 6857dfc25..dc93bbfb5 100644 --- a/src/fs/test_fs_collection.c +++ b/src/fs/test_fs_collection.c | |||
@@ -52,7 +52,9 @@ task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
52 | cfg, | 52 | cfg, |
53 | "test-fs-collection", | 53 | "test-fs-collection", |
54 | &progress_cb, | 54 | &progress_cb, |
55 | NULL); | 55 | NULL, |
56 | GNUNET_FS_FLAGS_NONE, | ||
57 | GNUNET_FS_OPTIONS_END); | ||
56 | GNUNET_assert (NULL != fsh); | 58 | GNUNET_assert (NULL != fsh); |
57 | GNUNET_FS_collection_stop (fsh); | 59 | GNUNET_FS_collection_stop (fsh); |
58 | GNUNET_assert (NULL == GNUNET_FS_collection_get (fsh)); | 60 | GNUNET_assert (NULL == GNUNET_FS_collection_get (fsh)); |
@@ -76,7 +78,9 @@ task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
76 | cfg, | 78 | cfg, |
77 | "test-fs-collection", | 79 | "test-fs-collection", |
78 | &progress_cb, | 80 | &progress_cb, |
79 | NULL); | 81 | NULL, |
82 | GNUNET_FS_FLAGS_NONE, | ||
83 | GNUNET_FS_OPTIONS_END); | ||
80 | have = GNUNET_FS_collection_get (fsh); | 84 | have = GNUNET_FS_collection_get (fsh); |
81 | GNUNET_assert (NULL != have); | 85 | GNUNET_assert (NULL != have); |
82 | GNUNET_FS_namespace_delete (have, GNUNET_NO); | 86 | GNUNET_FS_namespace_delete (have, GNUNET_NO); |
@@ -101,7 +105,8 @@ main (int argc, char *argv[]) | |||
101 | NULL); | 105 | NULL); |
102 | GNUNET_CRYPTO_random_disable_entropy_gathering (); | 106 | GNUNET_CRYPTO_random_disable_entropy_gathering (); |
103 | cfg = GNUNET_CONFIGURATION_create (); | 107 | cfg = GNUNET_CONFIGURATION_create (); |
104 | if (GNUNET_SYSERR == GNUNET_CONFIGURATION_parse (cfg, "test_fs_collection_data.conf")) | 108 | if (GNUNET_SYSERR == GNUNET_CONFIGURATION_parse (cfg, |
109 | "test_fs_collection_data.conf")) | ||
105 | { | 110 | { |
106 | GNUNET_CONFIGURATION_destroy (cfg); | 111 | GNUNET_CONFIGURATION_destroy (cfg); |
107 | return -1; | 112 | return -1; |