mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 15:14:17 +00:00
get rid of pesky *
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@731 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
bd4fc98500
commit
acc02b4c94
3 files changed
+4
-6
No files matched your search
+2
-4
@@ -780,7 +780,7 @@ SWITCH_DECLARE(switch_status) switch_core_session_outgoing_channel(switch_core_s
|
||||
char *endpoint_name,
|
||||
switch_caller_profile *caller_profile,
|
||||
switch_core_session **new_session,
|
||||
switch_memory_pool **pool)
|
||||
switch_memory_pool *pool)
|
||||
{
|
||||
struct switch_io_event_hook_outgoing_channel *ptr;
|
||||
switch_status status = SWITCH_STATUS_FALSE;
|
||||
@@ -794,9 +794,7 @@ SWITCH_DECLARE(switch_status) switch_core_session_outgoing_channel(switch_core_s
|
||||
if (endpoint_interface->io_routines->outgoing_channel) {
|
||||
if ((status =
|
||||
endpoint_interface->io_routines->outgoing_channel(session, caller_profile,
|
||||
new_session, *pool)) == SWITCH_STATUS_SUCCESS) {
|
||||
/* session has adopted this pool we cant touch it now */
|
||||
*pool = NULL;
|
||||
new_session, pool)) == SWITCH_STATUS_SUCCESS) {
|
||||
if (session) {
|
||||
for (ptr = session->event_hooks.outgoing_channel; ptr; ptr = ptr->next) {
|
||||
if ((status = ptr->outgoing_channel(session, caller_profile, *new_session)) != SWITCH_STATUS_SUCCESS) {
|
||||
|
||||
Reference in new issue
Block a user