Changed a suspiciously looking but correct code gesture. Coverity CID 28831.

This commit is contained in:
Thomas Schmitt 2015-11-07 11:11:07 +00:00
parent e081af1d03
commit 1ea10c4a60
2 changed files with 2 additions and 2 deletions

View File

@ -1337,9 +1337,9 @@ int Xorriso_option_not_list(struct XorrisO *xorriso, char *adr, int flag)
}
ret= 1;
ex:;
Xorriso_read_lines(xorriso, fp, &linecount, &argc, &argv, 2);
if(fp != NULL && fp != stdin)
fclose(fp);
Xorriso_read_lines(xorriso, fp, &linecount, &argc, &argv, 2);
if(ret<=0) {
sprintf(xorriso->info_text, "Aborted reading of file ");
Text_shellsafe(adr, xorriso->info_text, 1);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.07.110421"
#define Xorriso_timestamP "2015.11.07.111034"