cleaning up stupid mess (lesson in regressions for Math`)

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10472 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Anthony Minessale
2008-11-20 02:27:59 +00:00
parent 412fc926ea
commit 9b98c2d512
4 changed files with 49 additions and 3 deletions
+2 -1
View File
@@ -421,9 +421,10 @@ SWITCH_DECLARE(void) switch_core_session_run(switch_core_session_t *session)
switch_channel_get_variables(session->channel, &stream.param_event);
expanded = switch_channel_expand_variables(session->channel, arg);
switch_api_execute(cmd, expanded, use_session, &stream);
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_DEBUG, "Hangup Command %s(%s):\n%s\n", cmd, expanded,
switch_str_nil((char *) stream.data));
switch_api_execute(cmd, expanded, use_session, &stream);
if (expanded != arg) {
switch_safe_free(expanded);
}