Accept empty DESCRIPTION in ical import
Adresses GitHub issue #274. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
This commit is contained in:
committed by
Lukas Fleischer
parent
37d326cbe1
commit
214a761564
@@ -899,11 +899,6 @@ static char *ical_read_note(char *line, unsigned *noskipped,
|
||||
ical_log(log, item_type, itemline, _("malformed description."));
|
||||
(*noskipped)++;
|
||||
return NULL;
|
||||
} else if (strlen(notestr) == 0) {
|
||||
mem_free(notestr);
|
||||
ical_log(log, item_type, itemline, _("empty description."));
|
||||
(*noskipped)++;
|
||||
return NULL;
|
||||
} else {
|
||||
note = generate_note(notestr);
|
||||
mem_free(notestr);
|
||||
|
||||
Reference in New Issue
Block a user