From: Thomas Jarosch Date: Fri, 4 May 2012 08:18:22 +0000 (+0200) Subject: Fix bracket placing X-Git-Tag: libsigrokdecode-0.1.1~124 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=32fd715cb7918dd13af14dcfd0a10e909cfac306;p=libsigrokdecode.git Fix bracket placing Make it consistent with the rest of the code Signed-off-by: Thomas Jarosch --- diff --git a/controller.c b/controller.c index 5d19e7a..f95f3d8 100644 --- a/controller.c +++ b/controller.c @@ -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; }