aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2019-06-27 10:19:21 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2019-06-27 10:22:41 +0200
commit7fb3740044e3e37fd92e13f6258bb4f571c0bfd1 (patch)
treeb30d651d9ae6fcde94255290e8ca39578c54efb0 /src/plugins
parentc07d9d2f20d26ef21aede121a60c92b9f0af109e (diff)
Fix strings serializationhalibut_7.99.2halibut/7.99.27.99.2
Also update and improve influxdb install instructions in README.md. Bug-AGL: SPEC-2578 Change-Id: I3a009efb2c1deed72635fbe18f586bddf14ddedb Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'src/plugins')
-rw-r--r--src/plugins/influxdb-writer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/influxdb-writer.c b/src/plugins/influxdb-writer.c
index e22c2bd..2856865 100644
--- a/src/plugins/influxdb-writer.c
+++ b/src/plugins/influxdb-writer.c
@@ -66,7 +66,7 @@ static void serialize_list_to_query(char *query, struct list *node, const char *
}
if(json_object_is_type(node->value, json_type_string))
- concatenate(query, json_object_get_string(node->value), "=");
+ concatenate_str(query, json_object_get_string(node->value), "=");
else
concatenate(query, json_object_to_json_string(node->value), "=");
node = node->next;