diff options
Diffstat (limited to 'src/fs/test_fs_search_persistence.c')
-rw-r--r-- | src/fs/test_fs_search_persistence.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fs/test_fs_search_persistence.c b/src/fs/test_fs_search_persistence.c index e2a213cd8..f04dad9f3 100644 --- a/src/fs/test_fs_search_persistence.c +++ b/src/fs/test_fs_search_persistence.c | |||
@@ -297,6 +297,7 @@ run (void *cls, | |||
297 | struct GNUNET_FS_Uri *kuri; | 297 | struct GNUNET_FS_Uri *kuri; |
298 | struct GNUNET_FS_FileInformation *fi; | 298 | struct GNUNET_FS_FileInformation *fi; |
299 | size_t i; | 299 | size_t i; |
300 | struct GNUNET_FS_BlockOptions bo; | ||
300 | 301 | ||
301 | cfg = c; | 302 | cfg = c; |
302 | setup_peer (&p1, "test_fs_search_data.conf"); | 303 | setup_peer (&p1, "test_fs_search_data.conf"); |
@@ -312,6 +313,10 @@ run (void *cls, | |||
312 | buf[i] = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 256); | 313 | buf[i] = GNUNET_CRYPTO_random_u32 (GNUNET_CRYPTO_QUALITY_WEAK, 256); |
313 | meta = GNUNET_CONTAINER_meta_data_create (); | 314 | meta = GNUNET_CONTAINER_meta_data_create (); |
314 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); | 315 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); |
316 | bo.content_priority = 42; | ||
317 | bo.anonymity_level = 1; | ||
318 | bo.replication_level = 0; | ||
319 | bo.expiration_time = GNUNET_TIME_relative_to_absolute (LIFETIME); | ||
315 | fi = GNUNET_FS_file_information_create_from_data (fs, | 320 | fi = GNUNET_FS_file_information_create_from_data (fs, |
316 | "publish-context", | 321 | "publish-context", |
317 | FILESIZE, | 322 | FILESIZE, |
@@ -319,9 +324,7 @@ run (void *cls, | |||
319 | kuri, | 324 | kuri, |
320 | meta, | 325 | meta, |
321 | GNUNET_NO, | 326 | GNUNET_NO, |
322 | 1, | 327 | &bo); |
323 | 42, | ||
324 | GNUNET_TIME_relative_to_absolute (LIFETIME)); | ||
325 | GNUNET_FS_uri_destroy (kuri); | 328 | GNUNET_FS_uri_destroy (kuri); |
326 | GNUNET_CONTAINER_meta_data_destroy (meta); | 329 | GNUNET_CONTAINER_meta_data_destroy (meta); |
327 | GNUNET_assert (NULL != fi); | 330 | GNUNET_assert (NULL != fi); |