]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add debug info for available images
authorBastian Dehn <hhaalo@arcor.de>
Fri, 23 Feb 2024 14:17:27 +0000 (15:17 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Fri, 23 Feb 2024 14:17:27 +0000 (15:17 +0100)
src/kds_s2000w_handler.c

index 93c0dc0806bb39fa27d69b290a44e1f4cf332ff9..8e3062fb8bf15e69ca5fe4a5152c097d796c4221 100644 (file)
@@ -302,6 +302,7 @@ void kds_s2000w_handler_get_parameters(void* handle)
                _get_current_scan_status(h);
        }
 
+       debug_printf_int(DEBUG, "available images", h->current_scan_status->available_images);
        if (h->current_scan_status->available_images > 0) {
                debug_printf_int(DEBUG, "download image", h->current_scan_status->current_image_number);
                _download_current_image(h);