diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2020-03-18 20:35:55 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2020-03-22 13:40:28 -0400 |
commit | 1cb2691342d74f9a81982c045f66be111999d040 (patch) | |
tree | 655c9a8cfe013365b68f9eabeca38661a9e38a8c /test/appointment-020.sh | |
parent | 63c2d4d5038b8b73ef216749c0354f7a45cbc466 (diff) | |
download | calcurse-1cb2691342d74f9a81982c045f66be111999d040.tar.gz calcurse-1cb2691342d74f9a81982c045f66be111999d040.zip |
Fix ical import logging
The following issues have been fixed:
Functions ical_read_event() and ical_read__todo() do not check the return value
of functions which may fail, in which case an item is not skipped even though
a problem may have been logged by the called function.
Function ical_read_note() fails on empty DESCRIPTION, but does not log it.
Function ical_read_exdate() may log a failure, but cannot fail itself.
Function ical_read_summary() can fail, but not log a failure.
Function ical_read_todo() do not skip a todo with an invalid priority.
Additionally:
A safety check has been added to ical_get_value(), and log messages resulting
from failures have been made uniform.
Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'test/appointment-020.sh')
0 files changed, 0 insertions, 0 deletions