diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-11 22:39:16 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-18 15:15:55 +0000 |
commit | cfe3919926150e92a48098fed0c392816325e967 (patch) | |
tree | 78166a30321a3c75bd9570d606d0e941fed89d88 /ctl-lib/ctl-control.c | |
parent | 69c0585c7edd2fbe06289d5e339d15c7f032533b (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-control.c')
0 files changed, 0 insertions, 0 deletions