summaryrefslogtreecommitdiff
path: root/src/fs/gnunet-pseudonym.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-04-27 18:36:33 +0000
committerChristian Grothoff <christian@grothoff.org>2011-04-27 18:36:33 +0000
commit8e8b1ea8b79485088bbe999700886422ed912fdd (patch)
tree7acc9633eb94a7eee043d8a6fcf89dd3f0e6d758 /src/fs/gnunet-pseudonym.c
parent626fa6e87a4c6bfdb03a9bba0bce81a393ca92ce (diff)
use correct expiration values
Diffstat (limited to 'src/fs/gnunet-pseudonym.c')
-rw-r--r--src/fs/gnunet-pseudonym.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fs/gnunet-pseudonym.c b/src/fs/gnunet-pseudonym.c
index 68a760867..d7a13e486 100644
--- a/src/fs/gnunet-pseudonym.c
+++ b/src/fs/gnunet-pseudonym.c
@@ -53,7 +53,7 @@ static struct GNUNET_CONTAINER_MetaData *adv_metadata;
/**
* Our block options (-p, -r, -a).
*/
-static struct GNUNET_FS_BlockOptions bo = { { 2 * 365 * 24 * 60 * 60 * 1000LL }, 1, 365, 1 };
+static struct GNUNET_FS_BlockOptions bo = { { 0LL }, 1, 365, 1 };
/**
* -q option given.
@@ -352,6 +352,7 @@ main (int argc, char *const *argv)
1, &GNUNET_GETOPT_set_string, &rating_change},
GNUNET_GETOPT_OPTION_END
};
+ bo.expiration_time = GNUNET_FS_year_to_time (GNUNET_FS_get_current_year () + 2);
return (GNUNET_OK ==
GNUNET_PROGRAM_run (argc,
argv,