Added a "NOT READBLE" result line to -check_md5

This commit is contained in:
Thomas Schmitt 2009-10-22 15:56:39 +00:00
parent b97e328da2
commit 4e52b191b6
2 changed files with 8 additions and 1 deletions

View File

@ -1 +1 @@
#define Xorriso_timestamP "2009.10.17.191225" #define Xorriso_timestamP "2009.10.22.155746"

View File

@ -12733,6 +12733,13 @@ ex:;
Xorriso_iso_file_close(xorriso, &stream, 0); Xorriso_iso_file_close(xorriso, &stream, 0);
if(ctx != NULL) if(ctx != NULL)
iso_md5_end(&ctx, data_md5); iso_md5_end(&ctx, data_md5);
if(ret < 0) {
sprintf(xorriso->result_line, "NOT READABLE: ");
Text_shellsafe(path, xorriso->result_line, 1);
strcat(xorriso->result_line, "\n");
if(!(flag & 1))
Xorriso_result(xorriso,0);
}
return(ret); return(ret);
} }