]> sigrok.org Git - sigrok-cli.git/commitdiff
Fix bracket placing
authorThomas Jarosch <redacted>
Fri, 4 May 2012 08:18:22 +0000 (10:18 +0200)
committerUwe Hermann <redacted>
Fri, 4 May 2012 08:49:38 +0000 (10:49 +0200)
Make it consistent with the rest of the code

Signed-off-by: Thomas Jarosch <redacted>
sigrok-cli.c

index 64406009e8f43da5ce75236e1959b415c3f84efa..2aec20593269085241b28ccfb5ab9c205030e597 100644 (file)
@@ -1044,7 +1044,7 @@ int main(int argc, char **argv)
                                printf("Cannot stack protocol decoder '%s': instance not found.\n", pds[i]);
                                return 1;
                        }
-                       if ((ret = srd_inst_stack(di_from, di_to) != SRD_OK))
+                       if ((ret = srd_inst_stack(di_from, di_to)) != SRD_OK)
                                return ret;
 
                        /* Don't show annotation from this PD. Only the last PD in