diff options
Diffstat (limited to 'src/fs/test_fs_download_persistence.c')
-rw-r--r-- | src/fs/test_fs_download_persistence.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fs/test_fs_download_persistence.c b/src/fs/test_fs_download_persistence.c index 35d4ed441..b66fefd6b 100644 --- a/src/fs/test_fs_download_persistence.c +++ b/src/fs/test_fs_download_persistence.c | |||
@@ -302,7 +302,7 @@ run (void *cls, | |||
302 | "down_bar", | 302 | "down_bar", |
303 | }; | 303 | }; |
304 | char *buf; | 304 | char *buf; |
305 | struct GNUNET_CONTAINER_MetaData *meta; | 305 | struct GNUNET_FS_MetaData *meta; |
306 | struct GNUNET_FS_Uri *kuri; | 306 | struct GNUNET_FS_Uri *kuri; |
307 | struct GNUNET_FS_FileInformation *fi; | 307 | struct GNUNET_FS_FileInformation *fi; |
308 | size_t i; | 308 | size_t i; |
@@ -315,7 +315,7 @@ run (void *cls, | |||
315 | buf = GNUNET_malloc (FILESIZE); | 315 | buf = GNUNET_malloc (FILESIZE); |
316 | for (i = 0; i < FILESIZE; i++) | 316 | for (i = 0; i < FILESIZE; i++) |
317 | buf[i] = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 256); | 317 | buf[i] = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 256); |
318 | meta = GNUNET_CONTAINER_meta_data_create (); | 318 | meta = GNUNET_FS_meta_data_create (); |
319 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); | 319 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); |
320 | bo.content_priority = 42; | 320 | bo.content_priority = 42; |
321 | bo.anonymity_level = 1; | 321 | bo.anonymity_level = 1; |
@@ -325,7 +325,7 @@ run (void *cls, | |||
325 | FILESIZE, buf, kuri, meta, | 325 | FILESIZE, buf, kuri, meta, |
326 | GNUNET_NO, &bo); | 326 | GNUNET_NO, &bo); |
327 | GNUNET_FS_uri_destroy (kuri); | 327 | GNUNET_FS_uri_destroy (kuri); |
328 | GNUNET_CONTAINER_meta_data_destroy (meta); | 328 | GNUNET_FS_meta_data_destroy (meta); |
329 | GNUNET_assert (NULL != fi); | 329 | GNUNET_assert (NULL != fi); |
330 | timeout_kill = | 330 | timeout_kill = |
331 | GNUNET_SCHEDULER_add_delayed (TIMEOUT, &timeout_kill_task, NULL); | 331 | GNUNET_SCHEDULER_add_delayed (TIMEOUT, &timeout_kill_task, NULL); |