Change ISO_FILE_CANT_ADD severity from WARNING to SORRY.
This commit is contained in:
parent
c272228590
commit
74f65d6833
@ -152,8 +152,8 @@
|
|||||||
/* Can't convert filename to requested charset (HINT,MEDIUM, -142) */
|
/* Can't convert filename to requested charset (HINT,MEDIUM, -142) */
|
||||||
#define ISO_FILENAME_WRONG_CHARSET 0xC020FF72
|
#define ISO_FILENAME_WRONG_CHARSET 0xC020FF72
|
||||||
|
|
||||||
/* File can't be added to the tree (WARNING,MEDIUM, -143) */
|
/* File can't be added to the tree (SORRY,HIGH, -143) */
|
||||||
#define ISO_FILE_CANT_ADD 0xD020FF71
|
#define ISO_FILE_CANT_ADD 0xE030FF71
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* File path break specification constraints and will be ignored
|
* File path break specification constraints and will be ignored
|
||||||
|
@ -488,7 +488,7 @@ int iso_add_dir_src_rec(IsoImage *image, IsoDir *parent, IsoFileSource *dir)
|
|||||||
ret = iso_file_source_open(dir);
|
ret = iso_file_source_open(dir);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
char *path = iso_file_source_get_path(dir);
|
char *path = iso_file_source_get_path(dir);
|
||||||
/* instead of the probable error, we throw a warning */
|
/* instead of the probable error, we throw a sorry event */
|
||||||
ret = iso_msg_submit(image->id, ISO_FILE_CANT_ADD, ret,
|
ret = iso_msg_submit(image->id, ISO_FILE_CANT_ADD, ret,
|
||||||
"Can't open dir %s", path);
|
"Can't open dir %s", path);
|
||||||
free(path);
|
free(path);
|
||||||
|
Loading…
Reference in New Issue
Block a user