diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-11 22:39:16 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2018-12-13 15:02:55 +0100 |
commit | 837ab3e4cfb9844dafe1b125a42f77153ec52b3a (patch) | |
tree | 78166a30321a3c75bd9570d606d0e941fed89d88 /ctl-lib/ctl-plugin.c | |
parent | 1a1043fcf64dc9b9424b94cbf3bf36758e4c95b9 (diff) |
Fixed null value when push Lua arguments
Still print a notice message when pushing a null object because having
a null object in LUA may be problematic and it's always a good idea to
warn developer.
Also use json_object_to_json_string (safer than json_object_get_string
in case of object is not a string) to dump json object in notice/debug
messages.
Change-Id: Ia3c252f38cbeca872b8f8fab1589da85d71a51ec
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'ctl-lib/ctl-plugin.c')
0 files changed, 0 insertions, 0 deletions