aboutsummaryrefslogtreecommitdiff
path: root/src/fs/fs_test_lib.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-01-17 14:14:33 +0000
committerChristian Grothoff <christian@grothoff.org>2011-01-17 14:14:33 +0000
commit480dc321e78214299ed9eb6718e833752a90082c (patch)
treeffbca4fd7dc5684af4409e5e1c406db7c52ff39c /src/fs/fs_test_lib.c
parent71be1744ba1e2396d97af436d45b397ad9ba333b (diff)
downloadgnunet-480dc321e78214299ed9eb6718e833752a90082c.tar.gz
gnunet-480dc321e78214299ed9eb6718e833752a90082c.zip
adding lifetime limits on migration content
Diffstat (limited to 'src/fs/fs_test_lib.c')
-rw-r--r--src/fs/fs_test_lib.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/fs/fs_test_lib.c b/src/fs/fs_test_lib.c
index f24a11e82..e63c5d596 100644
--- a/src/fs/fs_test_lib.c
+++ b/src/fs/fs_test_lib.c
@@ -33,6 +33,8 @@
33 33
34#define CONNECT_ATTEMPTS 4 34#define CONNECT_ATTEMPTS 4
35 35
36#define CONTENT_LIFETIME GNUNET_TIME_UNIT_HOURS
37
36/** 38/**
37 * Handle for a daemon started for testing FS. 39 * Handle for a daemon started for testing FS.
38 */ 40 */
@@ -673,7 +675,7 @@ GNUNET_FS_TEST_publish (struct GNUNET_FS_TestDaemon *daemon,
673 do_index, 675 do_index,
674 anonymity, 676 anonymity,
675 42 /* priority */, 677 42 /* priority */,
676 GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS)); 678 GNUNET_TIME_relative_to_absolute (CONTENT_LIFETIME));
677 } 679 }
678 else 680 else
679 { 681 {
@@ -687,7 +689,7 @@ GNUNET_FS_TEST_publish (struct GNUNET_FS_TestDaemon *daemon,
687 do_index, 689 do_index,
688 anonymity, 690 anonymity,
689 42 /* priority */, 691 42 /* priority */,
690 GNUNET_TIME_relative_to_absolute (GNUNET_TIME_UNIT_HOURS)); 692 GNUNET_TIME_relative_to_absolute (CONTENT_LIFETIME));
691 } 693 }
692 daemon->publish_context = GNUNET_FS_publish_start (daemon->fs, 694 daemon->publish_context = GNUNET_FS_publish_start (daemon->fs,
693 fi, 695 fi,