Corrected error handling which was spoiled by rev 4852

This commit is contained in:
Thomas Schmitt 2012-10-25 17:35:10 +00:00
parent 4c74cbf7b3
commit d216764867
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
#define Cdrskin_timestamP "2012.10.25.123837"
#define Cdrskin_timestamP "2012.10.25.173408"

View File

@ -490,7 +490,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
d->silent_on_scsi_error = sose_mem;
if (err == BE_CANCELLED) {
if ((flag & 16) && (d->had_particular_error & 1))
ret = -3; goto ex;
{ret = -3; goto ex;}
/* Try to read a smaller part of the chunk */
if(!(flag & 4))
for (i = 0; i < chunksize - 1; i++) {