diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-18 14:03:53 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-12-18 14:03:53 +0100 |
commit | 9fe1a36ddfc85638958681dc3f929d47df117cd3 (patch) | |
tree | 1b92edbe82507692ec684297edd5b32b2cbf2c8e /plugins/gps.c | |
parent | 41ea8b75daa57b1c7259bd42c7e5bc16f33b38ec (diff) |
Several small fixes and improvements.
Cleaning
Make some additionnals test avoiding segfault,
Filling opitonnal response object to avoid warning
Wrong plugins type register macro called
Change-Id: I012cc3ddc5f89b75dbc46c3ea535717141823884
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'plugins/gps.c')
-rw-r--r-- | plugins/gps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gps.c b/plugins/gps.c index a4dfdba..af594fa 100644 --- a/plugins/gps.c +++ b/plugins/gps.c @@ -28,7 +28,7 @@ #include "ctl-plugin.h" #include "wrap-json.h" -CTLP_LUA_REGISTER("gps"); +CTLP_CAPI_REGISTER("gps"); // Call at initialisation time /*CTLP_ONLOAD(plugin, api) { |