FS-8335 #resolve fix small error check that results in error message not being displayed.

This commit is contained in:
Ken Rice 2015-10-12 11:56:20 -05:00
parent aefd1f13ca
commit 61d9243e55
1 changed files with 2 additions and 2 deletions

View File

@ -165,8 +165,8 @@ static switch_status_t load_config(void)
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot find SQL Database! (Where\'s the gateways table\?\?)\n");
}
}
} else if (globals.db_dsn) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot Open ODBC Connection (did you enable it?!)\n");
} else if (!globals.db_dsn) {
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Cannot Open ODBC Connection (did you enable it?)\n");
}
reallydone: