aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2012-03-21 13:23:50 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2012-03-21 13:23:50 +0000
commitd29be6eaaeec4054d1bcfde6671df476c6a26ed6 (patch)
tree59e67287a2bf6edc94bb49ba7557ad8b09b9ccf5
parente83f713b6cd9795ca576402682448f0c54879331 (diff)
- old value was only 8h
-rw-r--r--src/util/strings.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index 40968956e1..1e9e7222aa 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -293,7 +293,7 @@ GNUNET_STRINGS_fancy_time_to_relative (const char *fancy_time,
{ "'", 60 * 1000},
{ "h", 60 * 60 * 1000},
{ "d", 24 * 60 * 60 * 1000},
- { "a", 31557600 /* year */ },
+ { "a", 31536000000 /* year */ },
{ NULL, 0}
};
int ret;