summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: dd09c93)
raw | patch | inline | side by side (parent: dd09c93)
author | Markus Linnala <Markus.Linnala@cybercom.com> | |
Tue, 11 Oct 2016 15:07:25 +0000 (18:07 +0300) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 12 Oct 2016 14:44:30 +0000 (16:44 +0200) |
Signed-off-by: Florian Forster <octo@collectd.org>
src/utils_format_graphite.c | patch | blob | history |
index 023f7a46a5240f7a7f52e3c9d6f237c91f932223..0098051434c27056ee171b78eb9126c6f5938edc 100644 (file)
}
memcpy((void *) (buffer + buffer_pos), message, message_len);
buffer_pos += message_len;
+ buffer[buffer_pos] = '\0';
}
sfree (rates);
return (status);