From bd5985aa3853e2e71cf03dda75a86f6703e521e2 Mon Sep 17 00:00:00 2001 From: Scott Sanders Date: Mon, 26 Dec 2011 11:34:52 -0500 Subject: [PATCH] Fix copy/paste typo in config option handler Spotted by Pavel Korovin. Thanks! --- src/write_graphite.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/write_graphite.c b/src/write_graphite.c index 8b5afb81..6a5648b9 100644 --- a/src/write_graphite.c +++ b/src/write_graphite.c @@ -698,7 +698,7 @@ static int wg_config_carbon (oconfig_item_t *ci) ERROR ("Unable to allocate memory for hostname prefix buffer"); return (-1); } - cb->postfix[0] = '\0'; + cb->prefix[0] = '\0'; } if (cb->postfix == NULL) { -- 2.30.2