diff options
Diffstat (limited to 'src/fs/test_fs_unindex_persistence.c')
-rw-r--r-- | src/fs/test_fs_unindex_persistence.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/fs/test_fs_unindex_persistence.c b/src/fs/test_fs_unindex_persistence.c index 162dd59af..ee4a4c2db 100644 --- a/src/fs/test_fs_unindex_persistence.c +++ b/src/fs/test_fs_unindex_persistence.c | |||
@@ -301,6 +301,7 @@ run (void *cls, | |||
301 | struct GNUNET_FS_Uri *kuri; | 301 | struct GNUNET_FS_Uri *kuri; |
302 | struct GNUNET_FS_FileInformation *fi; | 302 | struct GNUNET_FS_FileInformation *fi; |
303 | size_t i; | 303 | size_t i; |
304 | struct GNUNET_FS_BlockOptions bo; | ||
304 | 305 | ||
305 | cfg = c; | 306 | cfg = c; |
306 | setup_peer (&p1, "test_fs_unindex_data.conf"); | 307 | setup_peer (&p1, "test_fs_unindex_data.conf"); |
@@ -323,15 +324,17 @@ run (void *cls, | |||
323 | GNUNET_free (buf); | 324 | GNUNET_free (buf); |
324 | meta = GNUNET_CONTAINER_meta_data_create (); | 325 | meta = GNUNET_CONTAINER_meta_data_create (); |
325 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); | 326 | kuri = GNUNET_FS_uri_ksk_create_from_args (2, keywords); |
327 | bo.content_priority = 42; | ||
328 | bo.anonymity_level = 1; | ||
329 | bo.replication_level = 0; | ||
330 | bo.expiration_time = GNUNET_TIME_relative_to_absolute (LIFETIME); | ||
326 | fi = GNUNET_FS_file_information_create_from_file (fs, | 331 | fi = GNUNET_FS_file_information_create_from_file (fs, |
327 | "publish-context", | 332 | "publish-context", |
328 | fn, | 333 | fn, |
329 | kuri, | 334 | kuri, |
330 | meta, | 335 | meta, |
331 | GNUNET_YES, | 336 | GNUNET_YES, |
332 | 1, | 337 | &bo); |
333 | 42, | ||
334 | GNUNET_TIME_relative_to_absolute (LIFETIME)); | ||
335 | GNUNET_FS_uri_destroy (kuri); | 338 | GNUNET_FS_uri_destroy (kuri); |
336 | GNUNET_CONTAINER_meta_data_destroy (meta); | 339 | GNUNET_CONTAINER_meta_data_destroy (meta); |
337 | GNUNET_assert (NULL != fi); | 340 | GNUNET_assert (NULL != fi); |