mod_fifo: Cleanup config parsing

This commit is contained in:
Travis Cross 2014-05-24 23:08:55 +00:00
parent 20f35e4591
commit a15058406e

View File

@ -4378,9 +4378,7 @@ static switch_status_t load_config(int reload, int del_all)
if (!strcasecmp(var, "outbound-strategy") && !zstr(val)) {
default_strategy = parse_strategy(val);
}
if (!strcasecmp(var, "odbc-dsn") && !zstr(val)) {
} else if (!strcasecmp(var, "odbc-dsn") && !zstr(val)) {
if (switch_odbc_available() || switch_pgsql_available()) {
switch_set_string(globals.odbc_dsn, val);
} else {