]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix start stop
authorBastian Dehn <hhaalo@arcor.de>
Wed, 31 Jan 2024 19:22:37 +0000 (20:22 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Wed, 31 Jan 2024 19:22:37 +0000 (20:22 +0100)
src/kds_s2000w_handler.c

index b5ba887a1f02fbca09609de9148d0c7ac4da2ffd..64042231c454801d8aa6f3f9005801f81db089b3 100644 (file)
@@ -443,7 +443,7 @@ void kds_s2000w_handler_set_option_auto(int option)
 void kds_s2000w_handler_start_scan()
 {
        resp = kds_s2000w_client_response_init();
-       int kds_s2000w_client_start_scan(int64_t sessionid, response* response);
+       kds_s2000w_client_start_scan(state->sessionid, resp);
        kds_s2000w_client_response_free(resp);
        resp = NULL;
 }
@@ -451,7 +451,7 @@ void kds_s2000w_handler_start_scan()
 void kds_s2000w_handler_stop_scan()
 {
        resp = kds_s2000w_client_response_init();
-       int kds_s2000w_client_stop_scan(int64_t sessionid, response* response);
+       kds_s2000w_client_stop_scan(state->sessionid, resp);
        kds_s2000w_client_response_free(resp);
        resp = NULL;
 }
\ No newline at end of file