]> gitweb.hhaalo.de Git - sane-kds-s2000w-net.git/commitdiff
fix brackets
authorBastian Dehn <hhaalo@arcor.de>
Sun, 4 Feb 2024 08:32:37 +0000 (09:32 +0100)
committerBastian Dehn <hhaalo@arcor.de>
Sun, 4 Feb 2024 08:32:37 +0000 (09:32 +0100)
src/kds_s2000w_net.c

index ef91348712aa66184c171e5e74ad65c9ea4f6c21..3ad9f9b05d08332ce89e9dea79ab3d05b6101bdf 100644 (file)
@@ -172,9 +172,8 @@ SANE_Status _sane_kds_s2000w_net_control_option(SANE_Handle handle,
 SANE_Status _sane_kds_s2000w_net_get_parameters(SANE_Handle handle,
        SANE_Parameters* params)
 {
-       if (!scan_started) {
+       if (!scan_started)
                return SANE_STATUS_GOOD;
-       }
 
        for (int i = 0; i < 10; i++) {
                sleep(1);