1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2025-01-06 13:17:44 +03:00

calendarspec: fix typo in "annually"

https://bugs.freedesktop.org/show_bug.cgi?id=85447
This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2014-10-25 11:59:36 -04:00
parent 7558251eef
commit e90efc7090

View File

@ -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;