Browse Source

Corrected reporting of -logfile in -status "short". Coverity CID 28729.

master
Thomas Schmitt 7 years ago
parent
commit
12956c5d5d
  1. 2
      xorriso/text_io.c
  2. 2
      xorriso/xorriso_timestamp.h

2
xorriso/text_io.c

@ -2847,7 +2847,7 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
Xorriso_status_result(xorriso,filter,fp,flag&2);
for(i=0;i<4;i++) {
is_default= (xorriso->logfile[i]!=0);
is_default= (xorriso->logfile[i][0] == 0);
sprintf(line,"-logfile %s %s\n",
channel_prefixes[i],Text_shellsafe(xorriso->logfile[i],sfe,0));
if(!(is_default && no_defaults))

2
xorriso/xorriso_timestamp.h

@ -1 +1 @@
#define Xorriso_timestamP "2015.11.10.104918"
#define Xorriso_timestamP "2015.11.11.192609"

Loading…
Cancel
Save