From: Thomas Jarosch Date: Fri, 4 May 2012 08:18:22 +0000 (+0200) Subject: Fix bracket placing X-Git-Tag: sigrok-cli-0.3.1~24 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=e2dd5a767b7ac36614ecb626216fcce6ebe22585;p=sigrok-cli.git Fix bracket placing Make it consistent with the rest of the code Signed-off-by: Thomas Jarosch --- diff --git a/sigrok-cli.c b/sigrok-cli.c index 6440600..2aec205 100644 --- a/sigrok-cli.c +++ b/sigrok-cli.c @@ -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