diff options
Diffstat (limited to 'src/fs/test_fs_search.c')
-rw-r--r-- | src/fs/test_fs_search.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/test_fs_search.c b/src/fs/test_fs_search.c index b392cc8ac..f9266582e 100644 --- a/src/fs/test_fs_search.c +++ b/src/fs/test_fs_search.c | |||
@@ -204,7 +204,7 @@ run (void *cls, | |||
204 | "down_bar" | 204 | "down_bar" |
205 | }; | 205 | }; |
206 | char *buf; | 206 | char *buf; |
207 | struct GNUNET_CONTAINER_MetaData *meta; | 207 | struct GNUNET_FS_MetaData *meta; |
208 | struct GNUNET_FS_Uri *kuri; | 208 | struct GNUNET_FS_Uri *kuri; |
209 | struct GNUNET_FS_BlockOptions bo; | 209 | struct GNUNET_FS_BlockOptions bo; |
210 | struct GNUNET_FS_FileInformation *fi; | 210 | struct GNUNET_FS_FileInformation *fi; |
@@ -216,7 +216,7 @@ run (void *cls, | |||
216 | buf = GNUNET_malloc (FILESIZE); | 216 | buf = GNUNET_malloc (FILESIZE); |
217 | for (i = 0; i < FILESIZE; i++) | 217 | for (i = 0; i < FILESIZE; i++) |
218 | buf[i] = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 256); | 218 | buf[i] = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 256); |
219 | meta = GNUNET_CONTAINER_meta_data_create (); | 219 | meta = GNUNET_FS_meta_data_create (); |
220 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); | 220 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); |
221 | bo.content_priority = 42; | 221 | bo.content_priority = 42; |
222 | bo.anonymity_level = 1; | 222 | bo.anonymity_level = 1; |
@@ -226,7 +226,7 @@ run (void *cls, | |||
226 | FILESIZE, buf, kuri, meta, | 226 | FILESIZE, buf, kuri, meta, |
227 | GNUNET_NO, &bo); | 227 | GNUNET_NO, &bo); |
228 | GNUNET_FS_uri_destroy (kuri); | 228 | GNUNET_FS_uri_destroy (kuri); |
229 | GNUNET_CONTAINER_meta_data_destroy (meta); | 229 | GNUNET_FS_meta_data_destroy (meta); |
230 | GNUNET_assert (NULL != fi); | 230 | GNUNET_assert (NULL != fi); |
231 | start = GNUNET_TIME_absolute_get (); | 231 | start = GNUNET_TIME_absolute_get (); |
232 | publish = | 232 | publish = |