Corrected reporting of -logfile in -status "short". Coverity CID 28729.
This commit is contained in:
parent
3056f17a92
commit
12956c5d5d
@ -2847,7 +2847,7 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
|
|||||||
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
Xorriso_status_result(xorriso,filter,fp,flag&2);
|
||||||
|
|
||||||
for(i=0;i<4;i++) {
|
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",
|
sprintf(line,"-logfile %s %s\n",
|
||||||
channel_prefixes[i],Text_shellsafe(xorriso->logfile[i],sfe,0));
|
channel_prefixes[i],Text_shellsafe(xorriso->logfile[i],sfe,0));
|
||||||
if(!(is_default && no_defaults))
|
if(!(is_default && no_defaults))
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2015.11.10.104918"
|
#define Xorriso_timestamP "2015.11.11.192609"
|
||||||
|
Loading…
Reference in New Issue
Block a user