From 214a761564e75abef1740738460288102a571a9b Mon Sep 17 00:00:00 2001 From: Lars Henriksen Date: Fri, 3 Apr 2020 20:34:20 +0200 Subject: Accept empty DESCRIPTION in ical import Adresses GitHub issue #274. Signed-off-by: Lars Henriksen Signed-off-by: Lukas Fleischer --- src/ical.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src') diff --git a/src/ical.c b/src/ical.c index dd14556..09d3b2a 100644 --- a/src/ical.c +++ b/src/ical.c @@ -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); -- cgit v1.2.3-70-g09d2