Return failure if import skips any item
Other items may have been imported succesfully. Adresses Github issue #323, last part. 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
d126696999
commit
97df01b534
@@ -924,7 +924,7 @@ unsigned io_file_exists(const char *);
|
||||
int io_check_file(const char *);
|
||||
int io_check_data_files(void);
|
||||
void io_export_data(enum export_type, int);
|
||||
void io_import_data(enum import_type, char *, const char *, const char *,
|
||||
int io_import_data(enum import_type, char *, const char *, const char *,
|
||||
const char *, const char *, const char *);
|
||||
struct io_file *io_log_init(void);
|
||||
void io_log_print(struct io_file *, int, const char *);
|
||||
|
||||
Reference in New Issue
Block a user