From 0180852f0dc2c59cf18019e6f288a2f61262bb52 Mon Sep 17 00:00:00 2001 From: Michael Jerris Date: Mon, 29 Oct 2007 19:15:26 +0000 Subject: [PATCH] this should not have compiled, but gcc didn't complain. fix for MODENDP-32 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6086 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/mod/endpoints/mod_wanpipe/mod_wanpipe.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c index 8df7f04e2d..b719bd33c6 100644 --- a/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c +++ b/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c @@ -1062,7 +1062,7 @@ static switch_call_cause_t wanpipe_outgoing_channel(switch_core_session_t *sessi outbound_profile->destination_number = dest; - if (!(*new_session = switch_core_session_request(&wanpipe_endpoint_interface, pool))) { + if (!(*new_session = switch_core_session_request(wanpipe_endpoint_interface, pool))) { cause = SWITCH_CAUSE_DESTINATION_OUT_OF_ORDER; goto error; } @@ -1510,7 +1510,7 @@ static int on_ring(struct sangoma_pri *spri, sangoma_pri_event_t event_type, pri pri_acknowledge(spri->pri, pevent->ring.call, pevent->ring.channel, 0); switch_mutex_unlock(chanmap->mutex); - if ((session = switch_core_session_request(&wanpipe_endpoint_interface, NULL))) { + if ((session = switch_core_session_request(wanpipe_endpoint_interface, NULL))) { private_object_t *tech_pvt; char ani2str[4] = ""; //wanpipe_tdm_api_t tdm_api; @@ -1817,7 +1817,7 @@ static void handle_call_start(ss7boost_handle_t *ss7boost_handle, ss7boost_clien } - if ((session = switch_core_session_request(&wanpipe_endpoint_interface, NULL))) { + if ((session = switch_core_session_request(wanpipe_endpoint_interface, NULL))) { private_object_t *tech_pvt; switch_core_session_add_stream(session, NULL);