aboutsummaryrefslogtreecommitdiff
path: root/src/util/strings.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2015-06-18 11:59:57 +0000
committerChristian Grothoff <christian@grothoff.org>2015-06-18 11:59:57 +0000
commited85740167a5bc8acf2718fb54b40d206de13b81 (patch)
treeecd3a983045bd6da577bb03895cd1638cff9e555 /src/util/strings.c
parentc4c08b52cfb51dee330402c44a5dbdeacab3b1a8 (diff)
downloadgnunet-ed85740167a5bc8acf2718fb54b40d206de13b81.tar.gz
gnunet-ed85740167a5bc8acf2718fb54b40d206de13b81.zip
-allow 'years' in time units, indentation and doxygen fixes
Diffstat (limited to 'src/util/strings.c')
-rw-r--r--src/util/strings.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/strings.c b/src/util/strings.c
index 407a135d1..51a9fd3dc 100644
--- a/src/util/strings.c
+++ b/src/util/strings.c
@@ -314,6 +314,8 @@ GNUNET_STRINGS_fancy_time_to_relative (const char *fancy_time,
314 { "days", 24 * 60 * 60 * 1000LL * 1000LL}, 314 { "days", 24 * 60 * 60 * 1000LL * 1000LL},
315 { "week", 7 * 24 * 60 * 60 * 1000LL * 1000LL}, 315 { "week", 7 * 24 * 60 * 60 * 1000LL * 1000LL},
316 { "weeks", 7 * 24 * 60 * 60 * 1000LL * 1000LL}, 316 { "weeks", 7 * 24 * 60 * 60 * 1000LL * 1000LL},
317 { "year", 31536000000000LL /* year */ },
318 { "years", 31536000000000LL /* year */ },
317 { "a", 31536000000000LL /* year */ }, 319 { "a", 31536000000000LL /* year */ },
318 { NULL, 0} 320 { NULL, 0}
319 }; 321 };