summaryrefslogtreecommitdiff
path: root/controller.c
diff options
context:
space:
mode:
authorThomas Jarosch <thomas.jarosch@intra2net.com>2012-05-04 10:18:22 +0200
committerUwe Hermann <uwe@hermann-uwe.de>2012-05-04 10:49:38 +0200
commit32fd715cb7918dd13af14dcfd0a10e909cfac306 (patch)
tree6c4310faf94362b9224bcc73d3217507514e92a1 /controller.c
parentc840e704fae9345c2a572a7efe4af8d5150c1a2d (diff)
downloadlibsigrokdecode-32fd715cb7918dd13af14dcfd0a10e909cfac306.tar.gz
libsigrokdecode-32fd715cb7918dd13af14dcfd0a10e909cfac306.zip
Fix bracket placing
Make it consistent with the rest of the code Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
Diffstat (limited to 'controller.c')
-rw-r--r--controller.c2
1 files changed, 1 insertions, 1 deletions
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;
}