summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-04-03 20:34:20 +0200
committerLukas Fleischer <lfleischer@calcurse.org>2020-04-28 07:32:44 -0400
commit214a761564e75abef1740738460288102a571a9b (patch)
tree52878344f13dd1640460e48648184291c4ce8147 /src
parent37d326cbe1b2285cbce8ae55aa953811864b11f8 (diff)
downloadcalcurse-214a761564e75abef1740738460288102a571a9b.tar.gz
calcurse-214a761564e75abef1740738460288102a571a9b.zip
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>
Diffstat (limited to 'src')
-rw-r--r--src/ical.c5
1 files changed, 0 insertions, 5 deletions
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);