X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fpinba.c;h=26aa539b413a2fefcddeec0734e18c5f65dc0f68;hb=3b473acc5d4d27e5cf5101a4b8cc8a21c2bb7262;hp=a6fd06fe2d56352a0a7e29cba18b394dd32559d2;hpb=66f9d645f883eee0aa408428eefdebdcc6dcfa7e;p=collectd.git diff --git a/src/pinba.c b/src/pinba.c index a6fd06fe..26aa539b 100644 --- a/src/pinba.c +++ b/src/pinba.c @@ -617,7 +617,7 @@ static int plugin_config (oconfig_item_t *ci) /* {{{ */ if (strcasecmp ("Address", child->key) == 0) cf_util_get_string (child, &conf_node); else if (strcasecmp ("Port", child->key) == 0) - cf_util_get_string (child, &conf_service); + cf_util_get_service (child, &conf_service); else if (strcasecmp ("View", child->key) == 0) pinba_config_view (child); else