summaryrefslogtreecommitdiffstats
path: root/src/plugins
diff options
context:
space:
mode:
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;