ba3644fcee
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=217
28 lines
1.0 KiB
Diff
28 lines
1.0 KiB
Diff
From e90efc70900f8e69cfbafd9e9508bdeb4d40dad7 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
Date: Sat, 25 Oct 2014 11:59:36 -0400
|
|
Subject: [PATCH] calendarspec: fix typo in "annually"
|
|
|
|
https://bugs.freedesktop.org/show_bug.cgi?id=85447
|
|
---
|
|
src/shared/calendarspec.c | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
diff --git src/shared/calendarspec.c src/shared/calendarspec.c
|
|
index 4ac74ab..64d0dec 100644
|
|
--- src/shared/calendarspec.c
|
|
+++ 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;
|
|
--
|
|
1.7.9.2
|
|
|