]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add debug info for status response
authorBastian Dehn <hhaalo@arcor.de>
Sat, 20 Apr 2024 06:22:43 +0000 (08:22 +0200)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 20 Apr 2024 06:22:43 +0000 (08:22 +0200)
src/kds_s2000w_handler.c

index 0604070883f59d00a04a1cf98d749df88271eb41..75258654e20ad639128eb5c4ca893d0861bc7615 100644 (file)
@@ -153,6 +153,7 @@ void _get_current_scan_status(handler* h)
        if (resp->error_size > 0)
                fprintf(stderr, "%s\n", resp->error_status);
 
+       debug_printf(DEBUG, resp->data);
        status_resp_obj = json_tokener_parse(resp->data);
        status_obj = json_object_object_get(status_resp_obj, "Status");
        status_value_obj = json_object_object_get(status_obj, "NumImagesStored");