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

master
Thomas Schmitt 7 years ago
parent 637a93f387
commit 6c760c1d39
  1. 2
      xorriso/opts_i_o.c
  2. 2
      xorriso/xorriso_timestamp.h

@ -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);

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

Loading…
Cancel
Save