From: Romain Forlot Date: Thu, 2 Mar 2017 22:16:56 +0000 (+0100) Subject: Fix: no json data for subcribed events X-Git-Tag: 3.99.1~406 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=0961202bff0758ffdccf7bcd0dc9b721e20b2edb;p=apps%2Flow-level-can-service.git Fix: no json data for subcribed events Change-Id: I9c260559d28bfe4bf26a77403254cd46a84a7d6f Signed-off-by: Romain Forlot --- 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;