From eb3d130d22a4235cbfc8fd547e4e303780149752 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Thu, 22 Jan 2004 17:59:38 +0000 Subject: [PATCH] Added "hour" and "day" units. --- lib/conf.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/conf.c b/lib/conf.c index 844c51cb..c2e5f1b4 100644 --- a/lib/conf.c +++ b/lib/conf.c @@ -93,6 +93,8 @@ struct unit { }; static const struct unit units[] = { + { 'd', 86400, 1 }, + { 'h', 1440, 1 }, { 'k', 1000, 1 }, { 'm', 1000000, 1 }, { 'g', 1000000000, 1 }, -- 2.39.2