]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
polling images before next status
authorBastian Dehn <hhaalo@arcor.de>
Mon, 1 Apr 2024 08:03:25 +0000 (10:03 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Mon, 1 Apr 2024 08:03:25 +0000 (10:03 +0200)
src/kds_s2000w_handler.c

index 4fdb0b5dc62e69502e4737aa922068dcbe6bdd2c..7ec9a4770dac2eff2cbbfd5167d5878e17eb6791 100644 (file)
@@ -143,7 +143,7 @@ void _get_current_scan_status(handler* h)
        json_object* status_value_obj = NULL;
        response* resp = NULL;
 
-       if (h->wait && h->current_scan_status->available_images > 1)
+       if (h->current_scan_status->available_images > 1)
                return;
 
        while(h->wait);