summaryrefslogtreecommitdiffstats
path: root/src/plugins/influxdb.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/influxdb.c')
-rw-r--r--src/plugins/influxdb.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/plugins/influxdb.c b/src/plugins/influxdb.c
index c2fe118..ae39a2a 100644
--- a/src/plugins/influxdb.c
+++ b/src/plugins/influxdb.c
@@ -19,7 +19,6 @@
#include <fcntl.h>
#include <stdio.h>
#include <unistd.h>
-#include <string.h>
#include "influxdb.h"
#include "tsdb.h"
@@ -72,12 +71,6 @@ CTLP_CAPI(influxdb_ping, source, argsJ, eventJ)
return ret;
}
-void concatenate(char* dest, const char* source, const char *sep)
-{
- strncat(dest, sep, strlen(sep));
- strncat(dest, source, strlen(source));
-}
-
size_t make_url(char *url, size_t l_url, const char *host, const char *port, const char *endpoint)
{
bzero(url, l_url);