]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add no doc for verify counter zero
authorBastian Dehn <hhaalo@arcor.de>
Mon, 26 Feb 2024 18:57:24 +0000 (19:57 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 26 Feb 2024 18:57:24 +0000 (19:57 +0100)
src/kds_s2000w_net.c

index e5bd656a42fc4244910f49c37c3dc1999d98ebbf..d3dd40a718c473e922dba028673a360aa7c903dd 100644 (file)
@@ -181,7 +181,8 @@ SANE_Status _sane_kds_s2000w_net_start(SANE_Handle handle)
        }
 
        if (h->current_scan_status->complete_scanned
-               && h->current_scan_status->current_image_number >= h->current_scan_status->downloaded_images)
+               && h->current_scan_status->current_image_number >= h->current_scan_status->downloaded_images
+               && h->current_metadata->verify <= 0)
                return SANE_STATUS_NO_DOCS;
 
        return SANE_STATUS_GOOD;