From: Bastian Dehn Date: Mon, 1 Apr 2024 08:03:25 +0000 (+0200) Subject: polling images before next status X-Git-Tag: v1.0.0^2~33 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=08dfa38b3028cf86c5b4aab6b0f7d7be2a821e5c;p=sane-kds-s2000w-net.git polling images before next status --- diff --git a/src/kds_s2000w_handler.c b/src/kds_s2000w_handler.c index 4fdb0b5..7ec9a47 100644 --- a/src/kds_s2000w_handler.c +++ b/src/kds_s2000w_handler.c @@ -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);