X-Git-Url: https://git.octo.it/?p=collectd.git;a=blobdiff_plain;f=src%2Fmemcachec.c;h=bd088ecdfce3cb6b67322875e34e416688623e90;hp=965aa6539bbfc52e404753225d1e66c3aa1894ed;hb=6fe9925aebdc99cee1ae3d00a0a869477400c8e5;hpb=afecba06803e867b17a46f093495c9b6c7a028fa diff --git a/src/memcachec.c b/src/memcachec.c index 965aa653..bd088ecd 100644 --- a/src/memcachec.c +++ b/src/memcachec.c @@ -304,8 +304,8 @@ static int cmc_config_add_page(oconfig_item_t *ci) /* {{{ */ status = cmc_config_add_string("Server", &page->server, child); else if (strcasecmp("Key", child->key) == 0) status = cmc_config_add_string("Key", &page->key, child); - else if (strcasecmp("PluginName", child->key) == 0) - status = cmc_config_add_string("PluginName", &page->plugin_name, child); + else if (strcasecmp("Plugin", child->key) == 0) + status = cmc_config_add_string("Plugin", &page->plugin_name, child); else if (strcasecmp("Match", child->key) == 0) /* Be liberal with failing matches => don't set `status'. */ cmc_config_add_match(page, child);