From: Ken Rice Date: Fri, 8 Feb 2013 01:27:36 +0000 (-0600) Subject: FS-5075 --resolve X-Git-Tag: v1.3.13~73 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3550eb410737be34ddc49b1df3f19fbab28aaec;p=thirdparty%2Ffreeswitch.git FS-5075 --resolve --- diff --git a/src/switch_core_sqldb.c b/src/switch_core_sqldb.c index df5e840f48..e746eb6f85 100644 --- a/src/switch_core_sqldb.c +++ b/src/switch_core_sqldb.c @@ -497,7 +497,7 @@ SWITCH_DECLARE(switch_status_t) _switch_cache_db_get_db_handle(switch_cache_db_h } if (!db && !odbc_dbh && !pgsql_dbh) { - switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Failure to connect to %s %s!\n", (db ? "SQLITE" : (odbc_dbh ? "ODBC" : "PGSQL")), (db ? connection_options->core_db_options.db_path : (odbc_dbh ? connection_options->odbc_options.dsn : connection_options->pgsql_options.dsn))); + switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_CRIT, "Failure to connect to %s %s!\n", switch_cache_db_type_name(type), db_name); goto end; }