Browse Source

Bug fix: Endless loop if transport error occurs while waiting for drive ready

1.4.2
Thomas Schmitt 7 years ago
parent
commit
ab11ce2a0e
  1. 2
      cdrskin/cdrskin_timestamp.h
  2. 2
      libburn/spc.c

2
cdrskin/cdrskin_timestamp.h

@ -1 +1 @@
#define Cdrskin_timestamP "2015.10.23.121415"
#define Cdrskin_timestamP "2015.10.23.122644"

2
libburn/spc.c

@ -128,7 +128,7 @@ int spc_test_unit_ready_r(struct burn_drive *d, int *key, int *asc, int *ascq,
((c->sense[2] & 0x0f) == 0 || (c->sense[2] & 0x0f) == 2) &&
(c->sense[15] & 0x80))
*progress = (c->sense[16] << 8) + c->sense[17];
return (key == 0);
return (*key == 0);
}
return 1;
}

Loading…
Cancel
Save