]> sigrok.org Git - libsigrokdecode.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>
controller.c

index 5d19e7a6a142ced06b04349449480fbc0b25739d..f95f3d866eba756f647a084d4ce1595a581034cd 100644 (file)
@@ -735,7 +735,7 @@ SRD_API int srd_session_start(int num_probes, int unitsize, uint64_t samplerate)
                di->data_num_probes = num_probes;
                di->data_unitsize = unitsize;
                di->data_samplerate = samplerate;
-               if ((ret = srd_inst_start(di, args) != SRD_OK))
+               if ((ret = srd_inst_start(di, args)) != SRD_OK)
                        break;
        }