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

This commit is contained in:
Thomas Schmitt 2010-10-29 17:45:13 +00:00
parent c3d5065d43
commit 3d2154b31e
2 changed files with 4 additions and 4 deletions

View File

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

View File

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