Merge pull request #12597 from keszybz/analyze-timestamp

Analyze timestamps
This commit is contained in:
Lennart Poettering
2019-05-28 14:34:53 +02:00
committed by GitHub
5 changed files with 138 additions and 27 deletions
+2 -2
View File
@@ -862,7 +862,6 @@ int calendar_spec_from_string(const char *p, CalendarSpec **spec) {
int r;
assert(p);
assert(spec);
c = new(CalendarSpec, 1);
if (!c)
@@ -1076,7 +1075,8 @@ int calendar_spec_from_string(const char *p, CalendarSpec **spec) {
if (!calendar_spec_valid(c))
return -EINVAL;
*spec = TAKE_PTR(c);
if (spec)
*spec = TAKE_PTR(c);
return 0;
}