From b93954c1ab4e9b6f91b6a9ba6463e179482f9cba Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Mon, 11 Feb 2008 17:45:58 +0000 Subject: [PATCH] Corrected a bug about -status -return_with --- xorriso/xorriso.c | 6 ++++-- xorriso/xorriso_timestamp.h | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/xorriso/xorriso.c b/xorriso/xorriso.c index 29e4e54c..9a2684c4 100644 --- a/xorriso/xorriso.c +++ b/xorriso/xorriso.c @@ -3969,8 +3969,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); - is_default= (strcmp(xorriso->return_with_text,"SORRY")==0); - sprintf(line,"-return_with %s\n",xorriso->return_with_text); + is_default= (strcmp(xorriso->return_with_text,"SORRY")==0 && + xorriso->return_with_value==32); + sprintf(line,"-return_with %s %d\n", + xorriso->return_with_text, xorriso->return_with_value); if(!(is_default && no_defaults)) Xorriso_status_result(xorriso,filter,fp,flag&2); diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index 7edb3d7f..9058ecac 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2008.02.11.162406" +#define Xorriso_timestamP "2008.02.11.174517"