mod_dingaling: fix compile error
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15488 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
5d815cfdfe
commit
a34e3f76d2
|
@ -306,7 +306,7 @@ static switch_bool_t mdl_execute_sql_callback(mdl_profile_t *profile,
|
|||
}
|
||||
|
||||
if (switch_odbc_available() && profile->odbc_dsn) {
|
||||
switch_odbc_handle_callback_exec(profile->master_odbc, sql, callback, pdata);
|
||||
switch_odbc_handle_callback_exec(profile->master_odbc, sql, callback, pdata, NULL);
|
||||
} else {
|
||||
if (!(db = switch_core_db_open_file(profile->dbname))) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error Opening DB %s\n", profile->dbname);
|
||||
|
|
Loading…
Reference in New Issue