- if (strcasecmp ("Socket", child->key) == 0)
- status = cf_util_get_string (child, &st->socket);
- else if (strcasecmp ("Host", child->key) == 0)
- status = cf_util_get_string (child, &st->host);
- else if (strcasecmp ("Address", child->key) == 0)
- status = cf_util_get_string (child, &st->connhost);
- else if (strcasecmp ("Port", child->key) == 0)
- status = cf_util_get_service (child, &st->connport);
- else
- {
- WARNING ("memcached plugin: Option `%s' not allowed here.",
- child->key);
+ if (strcasecmp("Socket", child->key) == 0)
+ status = cf_util_get_string(child, &st->socket);
+ else if (strcasecmp("Host", child->key) == 0)
+ status = cf_util_get_string(child, &st->host);
+ else if (strcasecmp("Address", child->key) == 0)
+ status = cf_util_get_string(child, &st->connhost);
+ else if (strcasecmp("Port", child->key) == 0)
+ status = cf_util_get_service(child, &st->connport);
+ else {
+ WARNING("memcached plugin: Option `%s' not allowed here.", child->key);