Regression fix: SCSI reply data logging was disabled in rev 3368, 0.8.6

ZeroNineZero
Thomas Schmitt 12 years ago
parent 261f05eb45
commit 84d6cac5c1
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 6
      libburn/spc.c

@ -1 +1 @@
#define Cdrskin_timestamP "2010.10.29.164059"
#define Cdrskin_timestamP "2010.10.29.174455"

@ -1558,12 +1558,12 @@ int scsi_eval_cmd_outcome(struct burn_drive *d, struct command *c, void *fp,
enum response outcome;
int done = -1, usleep_time;
if (burn_sg_log_scsi & 3)
scsi_log_err(c, fp, sense, sense_len, duration,
(sense_len > 0) | (flag & 2));
if (sense_len <= 0)
return 1;
if (burn_sg_log_scsi & 3)
scsi_log_err(c, fp, sense, sense_len, duration,
1 | (flag & 2));
outcome = scsi_error(d, sense, sense_len);
if (outcome == RETRY && c->retry && !(flag & 1)) {
/* Calming down retries and breaking up endless cycle

Loading…
Cancel
Save