- }
- else if (strcasecmp ("Timeout", child->key) == 0) {
- status = cf_util_get_int (child, &timeout);
- if (status == 0) node->timeout.tv_usec = timeout;
- }
- else if (strcasecmp ("Prefix", child->key) == 0) {
- status = cf_util_get_string (child, &node->prefix);
- }
- else if (strcasecmp ("Database", child->key) == 0) {
- status = cf_util_get_int (child, &node->database);
- }
- else if (strcasecmp ("MaxSetSize", child->key) == 0) {
- status = cf_util_get_int (child, &node->max_set_size);
- }
- else if (strcasecmp ("StoreRates", child->key) == 0) {
- status = cf_util_get_boolean (child, &node->store_rates);
- }
- else
- WARNING ("write_redis plugin: Ignoring unknown config option \"%s\".",
- child->key);
+ } else if (strcasecmp("Timeout", child->key) == 0) {
+ status = cf_util_get_int(child, &timeout);
+ if (status == 0)
+ node->timeout.tv_usec = timeout;
+ } else if (strcasecmp("Prefix", child->key) == 0) {
+ status = cf_util_get_string(child, &node->prefix);
+ } else if (strcasecmp("Database", child->key) == 0) {
+ status = cf_util_get_int(child, &node->database);
+ } else if (strcasecmp("MaxSetSize", child->key) == 0) {
+ status = cf_util_get_int(child, &node->max_set_size);
+ } else if (strcasecmp("StoreRates", child->key) == 0) {
+ status = cf_util_get_boolean(child, &node->store_rates);
+ } else
+ WARNING("write_redis plugin: Ignoring unknown config option \"%s\".",
+ child->key);