- if (strcasecmp ("Min", child->key) == 0)
- status = mv_config_add_gauge (&m->min, child);
- else if (strcasecmp ("Max", child->key) == 0)
- status = mv_config_add_gauge (&m->max, child);
- else if (strcasecmp ("Invert", child->key) == 0)
- status = mv_config_add_boolean (&m->invert, child);
- else if (strcasecmp ("Satisfy", child->key) == 0)
- status = mv_config_add_satisfy (m, child);
- else if (strcasecmp ("DataSource", child->key) == 0)
- status = mv_config_add_data_source (m, child);
- else
- {
- ERROR ("`value' match: The `%s' configuration option is not "
- "understood and will be ignored.", child->key);
+ if (strcasecmp("Min", child->key) == 0)
+ status = mv_config_add_gauge(&m->min, child);
+ else if (strcasecmp("Max", child->key) == 0)
+ status = mv_config_add_gauge(&m->max, child);
+ else if (strcasecmp("Invert", child->key) == 0)
+ status = mv_config_add_boolean(&m->invert, child);
+ else if (strcasecmp("Satisfy", child->key) == 0)
+ status = mv_config_add_satisfy(m, child);
+ else if (strcasecmp("DataSource", child->key) == 0)
+ status = mv_config_add_data_source(m, child);
+ else {
+ ERROR("`value' match: The `%s' configuration option is not "
+ "understood and will be ignored.",
+ child->key);