]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
mod_dingaling: fix compile error
authorMathieu Rene <mrene@avgs.ca>
Tue, 17 Nov 2009 01:09:11 +0000 (01:09 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 17 Nov 2009 01:09:11 +0000 (01:09 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15488 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_dingaling/mod_dingaling.c

index 2aafac723bd98b56782ddbd6a732116f44fdd6ad..4fc2b6ced7849d1a18bb516fe4eb2286cd64dbb2 100644 (file)
@@ -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);