]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Backport fix from libucl
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 20 Feb 2016 22:22:17 +0000 (22:22 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Sat, 20 Feb 2016 22:22:29 +0000 (22:22 +0000)
contrib/libucl/ucl_parser.c

index cceb8a8578442d3c2ab8100bf118b7772f133f34..ac3fe054381030abc258063a0d20a8c4c2022e3f 100644 (file)
@@ -259,7 +259,7 @@ ucl_lex_time_multiplier (const unsigned char c) {
                        {'h', 60 * 60},
                        {'d', 60 * 60 * 24},
                        {'w', 60 * 60 * 24 * 7},
-                       {'y', 60 * 60 * 24 * 7 * 365}
+                       {'y', 60 * 60 * 24 * 365}
        };
        int i;