summaryrefslogtreecommitdiffstats
path: root/src/plugins/influxdb-writer.c
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2018-04-24 09:21:47 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2018-07-10 23:41:14 +0200
commite7ca1205b5efec2788ddac7d298f5493c0e628ad (patch)
tree28a249ce660f3613441179b9d0c09fe608f8dbd3 /src/plugins/influxdb-writer.c
parent7beb985dc148287de3af9d72929909b88480e2a9 (diff)
Externalize Curl dependency within afb-helpers
Change-Id: I50a4c6f440730a8776f7bb5c58c756c35bca5db8 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/plugins/influxdb-writer.c')
-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 4ffa8c9..ba0a801 100644
--- a/src/plugins/influxdb-writer.c
+++ b/src/plugins/influxdb-writer.c
@@ -134,7 +134,7 @@ CURL *make_curl_write_post(const char *url, json_object *metricsJ)
/* Check that we just do not broke the for loop before trying preparing CURL
request object */
curl = i == lpd ?
- curl_wrap_prepare_post_binary(url, NULL, " ", (const char * const*)post_data) : NULL;
+ curl_wrap_prepare_post_unescaped(url, NULL, " ", (const char * const*)post_data) : NULL;
free(serie);
free(post_data);