From: Scott Sanders Date: Mon, 26 Dec 2011 16:34:52 +0000 (-0500) Subject: Fix copy/paste typo in config option handler X-Git-Tag: collectd-5.1.0~33^2~25^2~2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=bd5985aa3853e2e71cf03dda75a86f6703e521e2;p=collectd.git Fix copy/paste typo in config option handler Spotted by Pavel Korovin. Thanks! --- 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) {