Improve ical import logging
The log file is not deleted if items were skipped (adresses Github issue #269). The log file includes the import file name and time. The import line numbers have been corrected (and tests amended). 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
80b60d63cb
commit
467815d465
@@ -425,7 +425,8 @@ int parse_args(int argc, char **argv)
|
||||
int dump_imported = 0, export_uid = 0;
|
||||
/* Data file locations */
|
||||
const char *datadir = NULL;
|
||||
const char *cfile = NULL, *ifile = NULL, *confdir = NULL;
|
||||
const char *cfile = NULL, *confdir = NULL;
|
||||
char *ifile = NULL;
|
||||
|
||||
int non_interactive = 1;
|
||||
int ch, cpid, type;
|
||||
|
||||
Reference in New Issue
Block a user