diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-02 23:16:56 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-03-02 23:16:56 +0100 |
commit | 0961202bff0758ffdccf7bcd0dc9b721e20b2edb (patch) | |
tree | e4fad9de0f826d9f1e1c1c433c661576470ad8a2 /src | |
parent | 8dac8942dcae2bb35212aa4ff5488bd8dcda1fad (diff) |
Fix: no json data for subcribed events
Change-Id: I9c260559d28bfe4bf26a77403254cd46a84a7d6f
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r-- | src/openxc-utils.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/openxc-utils.cpp b/src/openxc-utils.cpp index c996176..40745a0 100644 --- 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; |