summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b2c7ba1)
raw | patch | inline | side by side (parent: b2c7ba1)
author | Scott Sanders <scott@jssjr.com> | |
Mon, 26 Dec 2011 16:34:52 +0000 (11:34 -0500) | ||
committer | Scott Sanders <scott@jssjr.com> | |
Mon, 26 Dec 2011 16:34:52 +0000 (11:34 -0500) |
Spotted by Pavel Korovin. Thanks!
src/write_graphite.c | patch | blob | history |
diff --git a/src/write_graphite.c b/src/write_graphite.c
index 8b5afb812bb62c47fe24af4378a10700db23ae99..6a5648b94a961512f9d035a96c29a934e5c9e058 100644 (file)
--- a/src/write_graphite.c
+++ b/src/write_graphite.c
ERROR ("Unable to allocate memory for hostname prefix buffer");
return (-1);
}
- cb->postfix[0] = '\0';
+ cb->prefix[0] = '\0';
}
if (cb->postfix == NULL) {