summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/plugins/influxdb.c2
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) {