Corrected error handling which was spoiled by rev 4852
This commit is contained in:
parent
4c74cbf7b3
commit
d216764867
@ -1 +1 @@
|
|||||||
#define Cdrskin_timestamP "2012.10.25.123837"
|
#define Cdrskin_timestamP "2012.10.25.173408"
|
||||||
|
@ -490,7 +490,7 @@ int burn_read_data(struct burn_drive *d, off_t byte_address,
|
|||||||
d->silent_on_scsi_error = sose_mem;
|
d->silent_on_scsi_error = sose_mem;
|
||||||
if (err == BE_CANCELLED) {
|
if (err == BE_CANCELLED) {
|
||||||
if ((flag & 16) && (d->had_particular_error & 1))
|
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 */
|
/* Try to read a smaller part of the chunk */
|
||||||
if(!(flag & 4))
|
if(!(flag & 4))
|
||||||
for (i = 0; i < chunksize - 1; i++) {
|
for (i = 0; i < chunksize - 1; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user