From 0961202bff0758ffdccf7bcd0dc9b721e20b2edb Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Thu, 2 Mar 2017 23:16:56 +0100 Subject: Fix: no json data for subcribed events Change-Id: I9c260559d28bfe4bf26a77403254cd46a84a7d6f Signed-off-by: Romain Forlot --- src/openxc-utils.cpp | 1 - 1 file changed, 1 deletion(-) 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; -- cgit 1.2.3-korg