[systemd-devel] [PATCH 7/7] calendar: parse months
Lennart Poettering
lennart at poettering.net
Mon Oct 27 05:44:27 PDT 2014
On Mon, 27.10.14 08:42, Daniele Medri (dmedri at gmail.com) wrote:
This should be in the same patch that introduces parse_months()!
> ---
> 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
>
> _______________________________________________
> systemd-devel mailing list
> systemd-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list