Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8dac894
)
Fix: no json data for subcribed events
author
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 2 Mar 2017 22:16:56 +0000
(23:16 +0100)
committer
Romain Forlot
<romain.forlot@iot.bzh>
Thu, 2 Mar 2017 22:16:56 +0000
(23:16 +0100)
Change-Id: I9c260559d28bfe4bf26a77403254cd46a84a7d6f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/openxc-utils.cpp
patch
|
blob
|
history
diff --git
a/src/openxc-utils.cpp
b/src/openxc-utils.cpp
index
c996176
..
40745a0
100644
(file)
--- a/
src/openxc-utils.cpp
+++ b/
src/openxc-utils.cpp
@@
-125,7
+125,6
@@
bool jsonify_simple(const openxc_SimpleMessage& s_msg, json_object* json)
{
if(s_msg.has_name)
{
- json = json_object_new_object();
json_object_object_add(json, "name", json_object_new_string(s_msg.name));
jsonify_DynamicField(s_msg.value, json);
return true;