From e175e6673e3409c2d41258dedf8eba2409553d33 Mon Sep 17 00:00:00 2001 From: Florian Forster Date: Mon, 6 Feb 2012 14:54:40 +0100 Subject: [PATCH] write_graphite plugin: Use cf_util_get_service() for the "Port" option. Change-Id: If3f0b32f86a40dbaa22837dc15f51429239af03a --- 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 6c8a977f..f7ed1959 100644 --- a/src/write_graphite.c +++ b/src/write_graphite.c @@ -651,7 +651,7 @@ static int wg_config_carbon (oconfig_item_t *ci) if (strcasecmp ("Host", child->key) == 0) cf_util_get_string (child, &cb->node); else if (strcasecmp ("Port", child->key) == 0) - cf_util_get_string (child, &cb->service); + cf_util_get_service (child, &cb->service); else if (strcasecmp ("Prefix", child->key) == 0) cf_util_get_string (child, &cb->prefix); else if (strcasecmp ("Postfix", child->key) == 0) -- 2.11.0