summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 1562a17)
raw | patch | inline | side by side (parent: 1562a17)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Mar 2016 11:54:26 +0000 (12:54 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Sat, 5 Mar 2016 11:54:26 +0000 (12:54 +0100) |
src/write_tsdb.c | patch | blob | history |
diff --git a/src/write_tsdb.c b/src/write_tsdb.c
index 2ed43890936d3699ba882c2b3d46c9dce33aacd7..c562596b6d753525aafa663ee532d71bcec5d873 100644 (file)
--- a/src/write_tsdb.c
+++ b/src/write_tsdb.c
{
int status;
char *temp = NULL;
- char *prefix = "";
+ const char *prefix = "";
const char *meta_prefix = "tsdb_prefix";
if (vl->meta) {
int status;
size_t message_len;
char *temp = NULL;
- char *tags = "";
+ const char *tags = "";
char message[1024];
- char *host_tags = cb->host_tags ? cb->host_tags : "";
+ const char *host_tags = cb->host_tags ? cb->host_tags : "";
const char *meta_tsdb = "tsdb_tags";
/* skip if value is NaN */