Fixed SIGSEGV introduced by rev 4819

This commit is contained in:
Thomas Schmitt 2012-09-08 08:28:42 +00:00
parent e22f8b5416
commit f34bb71269
2 changed files with 4 additions and 4 deletions

View File

@ -1443,10 +1443,10 @@ int Xorriso_status(struct XorrisO *xorriso, char *filter, FILE *fp, int flag)
if(!(is_default && no_defaults))
Xorriso_status_result(xorriso, filter, fp, flag & 2);
if(strncmp(filter, "-cdi", 4) == 0)
sprintf(line,"-cdi ");
else
sprintf(line,"-cd ");
if(filter != NULL)
if(strncmp(filter, "-cdi", 4) == 0)
sprintf(line,"-cdi ");
sprintf(line + strlen(line),"%s\n",
(xorriso->wdi[0] ? Text_shellsafe(xorriso->wdi,sfe,0) : "'/'"));
Xorriso_status_result(xorriso,filter,fp,flag&2);

View File

@ -1 +1 @@
#define Xorriso_timestamP "2012.08.20.084354"
#define Xorriso_timestamP "2012.09.08.082759"