diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-11-29 19:22:33 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:54 +0100 |
commit | 4bf3794c7f58a88cc071e46d1d6a283ffcb162d9 (patch) | |
tree | d93e6c6cea1b7c83e38adf1eb65806aab8c73393 /ctl-lib | |
parent | 3c362a31c9f2313257e835c79ec97174cc6aa67e (diff) |
Wrong increment always fails load an action
Change-Id: I7a8a3ac4846f1190caf1a4dde066e50dc592d58b
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'ctl-lib')
-rw-r--r-- | ctl-lib/ctl-action.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/ctl-lib/ctl-action.c b/ctl-lib/ctl-action.c index 41ce70b..0b6a8e7 100644 --- a/ctl-lib/ctl-action.c +++ b/ctl-lib/ctl-action.c @@ -199,7 +199,6 @@ PUBLIC int ActionLoadOne(AFB_ApiT apiHandle, CtlActionT *action, json_object *ac if (callbackJ) { modeCount++; action->type = CTL_TYPE_CB; - modeCount++; err = PluginGetCB (apiHandle, action, callbackJ); if (err) goto OnErrorExit; } |