diff --git a/src/postgresql.c b/src/postgresql.c
index 9aa7a67510be6fcf69a6fe585c963ce04cddf1cc..594fa32e7b4677af6ed7d5be6427725a51711503 100644 (file)
--- a/src/postgresql.c
+++ b/src/postgresql.c
if (strcasecmp ("Statement", c->key) == 0)
status = cf_util_get_string (c, &writer->statement);
- if (strcasecmp ("StoreRates", c->key) == 0)
+ else if (strcasecmp ("StoreRates", c->key) == 0)
status = cf_util_get_boolean (c, &writer->store_rates);
else
log_warn ("Ignoring unknown config key \"%s\".", c->key);