From d216764867b76ad940a69a06a7ea93f4b9f0e9be Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 25 Oct 2012 17:35:10 +0000 Subject: [PATCH] Corrected error handling which was spoiled by rev 4852 --- cdrskin/cdrskin_timestamp.h | 2 +- libburn/read.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index 701e7a0..d3398a9 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2012.10.25.123837" +#define Cdrskin_timestamP "2012.10.25.173408" diff --git a/libburn/read.c b/libburn/read.c index 57027ea..29bfea4 100644 --- a/libburn/read.c +++ b/libburn/read.c @@ -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++) {