diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 16:59:49 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2019-07-31 16:59:49 +0200 |
commit | 1687222e1b9e74c89cafbb5910e72d8ec7bfd40f (patch) | |
tree | d78102ce30207c63e7608eeba743efd680c888dc /backend/canon-scsi.c | |
parent | 58912f68c2489bcee787599837447e0d64dfd61a (diff) |
New upstream version 1.0.28upstream/1.0.28
Diffstat (limited to 'backend/canon-scsi.c')
-rw-r--r-- | backend/canon-scsi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/canon-scsi.c b/backend/canon-scsi.c index a83e518..0bddf51 100644 --- a/backend/canon-scsi.c +++ b/backend/canon-scsi.c @@ -623,7 +623,7 @@ wait_ready(int fd) while ((status = test_unit_ready (fd)) != SANE_STATUS_GOOD) { DBG(5, "wait_ready failed (%d)\n", retry); - if (retry++ > 15) + if (retry++ > 15) return SANE_STATUS_IO_ERROR; sleep(3); } |