From: Florian Forster Date: Mon, 6 Feb 2012 13:54:40 +0000 (+0100) Subject: write_graphite plugin: Use cf_util_get_service() for the "Port" option. X-Git-Tag: collectd-5.1.0~33^2~12 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e175e6673e3409c2d41258dedf8eba2409553d33;p=collectd.git write_graphite plugin: Use cf_util_get_service() for the "Port" option. Change-Id: If3f0b32f86a40dbaa22837dc15f51429239af03a --- 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)