]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
add debug count option info
authorBastian Dehn <hhaalo@arcor.de>
Sat, 27 Jan 2024 10:55:23 +0000 (11:55 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sat, 27 Jan 2024 10:55:23 +0000 (11:55 +0100)
src/kds_s2000w_handler.c

index 548eb85407f33d7cf7d744b28927da5151e84eac..0f791be641cb89b2311f4a312a5d4fdfc1837bcd 100644 (file)
@@ -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: