diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2018-04-18 19:58:39 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-07-10 23:41:14 +0200 |
commit | 6a8f3a37db28ff8a601e5999499c20049c1453d5 (patch) | |
tree | 1a81088aaad0a484015b76b61cdf48e87d4413c2 /src/plugins/influxdb.c | |
parent | f93730e72eeeade82ca72d7a7ad8cde404ef95f1 (diff) |
Concatenation separator for curl wrap configurable
Change-Id: I682744080325335c1228ca84486f07725636729a
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/plugins/influxdb.c')
-rw-r--r-- | src/plugins/influxdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/influxdb.c b/src/plugins/influxdb.c index c33d167..ebba4e1 100644 --- a/src/plugins/influxdb.c +++ b/src/plugins/influxdb.c @@ -62,7 +62,7 @@ int create_database() post_data[0] = "q=CREATE DATABASE \""DEFAULT_DB"\""; post_data[1] = NULL; - CURL *request = curl_wrap_prepare_post("localhost:"DEFAULT_DBPORT"/query",NULL, 1, post_data); + CURL *request = curl_wrap_prepare_post("localhost:"DEFAULT_DBPORT"/query",NULL, 1, ' ', post_data); curl_wrap_perform(request, &result, &result_size); if(curl_wrap_response_code_get(request) != 200) { |