summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-10-25 11:59:36 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-10-25 11:59:36 -0400
commite90efc70900f8e69cfbafd9e9508bdeb4d40dad7 (patch)
treec7af4725b250504ee0b7b87630fac0eff77c7dc6 /src
parent7558251eef610e71595a0aa48952479906cb899a (diff)
calendarspec: fix typo in "annually"
https://bugs.freedesktop.org/show_bug.cgi?id=85447
Diffstat (limited to 'src')
-rw-r--r--src/shared/calendarspec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c
index 4ac74ab0a2..64d0dec364 100644
--- a/src/shared/calendarspec.c
+++ b/src/shared/calendarspec.c
@@ -688,7 +688,8 @@ int calendar_spec_from_string(const char *p, CalendarSpec **spec) {
if (r < 0)
goto fail;
- } else if (strcaseeq(p, "anually") || strcaseeq(p, "yearly")) {
+ } else if (strcaseeq(p, "annually") || strcaseeq(p, "yearly")
+ || strcaseeq(p, "anually") /* backwards compatibility */ ) {
r = const_chain(1, &c->month);
if (r < 0)
goto fail;