diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2020-04-03 20:34:20 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2020-04-28 07:32:44 -0400 |
commit | 214a761564e75abef1740738460288102a571a9b (patch) | |
tree | 52878344f13dd1640460e48648184291c4ce8147 /src | |
parent | 37d326cbe1b2285cbce8ae55aa953811864b11f8 (diff) | |
download | calcurse-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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); |