aboutsummaryrefslogtreecommitdiffstats
path: root/ctl-lib/ctl-control.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-25 19:10:56 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-10-25 19:10:56 +0200
commite532f01fc3028ee8d766a692651243661b2769f8 (patch)
tree140d833a1a7f3eb3ed31c9be0e1327d26ff66c3f /ctl-lib/ctl-control.c
parente9205ca171ed794ac18dcdec40578955a64361f3 (diff)
Formating
Change-Id: I2b805a60b67db1a72b429093256999673e2c3964 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-control.c')
-rw-r--r--ctl-lib/ctl-control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ctl-lib/ctl-control.c b/ctl-lib/ctl-control.c
index 2248756..914b51f 100644
--- a/ctl-lib/ctl-control.c
+++ b/ctl-lib/ctl-control.c
@@ -24,15 +24,15 @@
// onload section receive one action or an array of actions
PUBLIC int ControlConfig(AFB_ApiT apiHandle, CtlSectionT *section, json_object *actionsJ) {
-
+
// Load time parse actions in config file
if (actionsJ != NULL) {
section->actions= ActionConfig(apiHandle, actionsJ, 1);
-
+
if (!section->actions) {
AFB_ApiError (apiHandle, "ControlLoad config fail processing onload actions");
goto OnErrorExit;
- }
+ }
}
return 0;