[systemd-devel] [PATCH 7/7] calendar: parse months

Daniele Medri dmedri at gmail.com
Mon Oct 27 00:42:45 PDT 2014


---
 src/shared/calendarspec.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/shared/calendarspec.c b/src/shared/calendarspec.c
index 8e6c871..ec84d65 100644
--- a/src/shared/calendarspec.c
+++ b/src/shared/calendarspec.c
@@ -907,6 +907,10 @@ int calendar_spec_from_string(const char *p, CalendarSpec **spec) {
                 if (r < 0)
                         goto fail;
 
+                r = parse_months(&p, c);
+                if (r < 0)
+                        goto fail;
+
                 r = parse_date(&p, c);
                 if (r < 0)
                         goto fail;
-- 
1.9.3



More information about the systemd-devel mailing list