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

This commit is contained in:
Thomas Schmitt 2015-11-11 19:26:32 +00:00
parent 3056f17a92
commit 12956c5d5d
2 changed files with 2 additions and 2 deletions

View File

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

View File

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