Fixed a potential bug introduced with rev 3497

This commit is contained in:
Thomas Schmitt 2010-12-08 19:42:42 +00:00
parent d1bb852c30
commit bce0dfadb6
2 changed files with 4 additions and 4 deletions

View File

@ -1045,11 +1045,11 @@ ex:;
Xorriso_report_md5_outcome(xorriso, first_job->target, 0); Xorriso_report_md5_outcome(xorriso, first_job->target, 0);
if(first_job->action == 40) { if(first_job->action == 40) {
sprintf(xorriso->result_line,"Size lower : %lus\n", sprintf(xorriso->result_line,"Size lower : %lus\n",
(unsigned long) (job->estim_lower_size / (off_t) 2048)); (unsigned long) (first_job->estim_lower_size / (off_t) 2048));
Xorriso_result(xorriso,0); Xorriso_result(xorriso,0);
sprintf(xorriso->result_line,"Size upper : %lus\n", sprintf(xorriso->result_line,"Size upper : %lus\n",
(unsigned long) ((job->estim_upper_size / (off_t) 2048) + (unsigned long) ((first_job->estim_upper_size / (off_t) 2048) +
!!(job->estim_upper_size % 2048))); !!(first_job->estim_upper_size % 2048)));
Xorriso_result(xorriso,0); Xorriso_result(xorriso,0);
} }
if(access_acl_text != NULL) if(access_acl_text != NULL)

View File

@ -1 +1 @@
#define Xorriso_timestamP "2010.12.07.174921" #define Xorriso_timestamP "2010.12.08.194225"