From: Bastian Dehn Date: Sat, 27 Jan 2024 10:55:23 +0000 (+0100) Subject: add debug count option info X-Git-Tag: v1.0.0^2~444 X-Git-Url: https://gitweb.hhaalo.de/?a=commitdiff_plain;h=3ae6fa16f4c9edd4c3e4c54d6725e6e050253e73;p=sane-kds-s2000w-net.git add debug count option info --- diff --git a/src/kds_s2000w_handler.c b/src/kds_s2000w_handler.c index 548eb85..0f791be 100644 --- a/src/kds_s2000w_handler.c +++ b/src/kds_s2000w_handler.c @@ -87,6 +87,8 @@ void kds_s2000w_handler_get_option(int option, void* value) switch(option) { case 0: int_value_ptr = (int*) value; + int_value = json_object_object_length(config); + printf("option number count: %i\n", int_value); *int_value_ptr = 8; break; case 1: