mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-15 00:22:35 +00:00
doh
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@11573 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
3f66f0a2a8
commit
9b87017b19
@ -1224,7 +1224,6 @@ SWITCH_DECLARE(switch_app_log_t *) switch_core_session_get_app_log(switch_core_s
|
||||
SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application(switch_core_session_t *session, const char *app, const char *arg)
|
||||
{
|
||||
switch_application_interface_t *application_interface;
|
||||
char *expanded = NULL;
|
||||
|
||||
if ((application_interface = switch_loadable_module_get_application_interface(app)) == 0) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Invalid Application %s\n", app);
|
||||
@ -1252,7 +1251,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_execute_application(switch_c
|
||||
}
|
||||
}
|
||||
|
||||
switch_core_session_exec(session, application_interface, expanded);
|
||||
switch_core_session_exec(session, application_interface, arg);
|
||||
|
||||
UNPROTECT_INTERFACE(application_interface);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user