]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
this should not have compiled, but gcc didn't complain. fix for MODENDP-32
authorMichael Jerris <mike@jerris.com>
Mon, 29 Oct 2007 19:15:26 +0000 (19:15 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 29 Oct 2007 19:15:26 +0000 (19:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6086 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

index 8df7f04e2df0af0f610006e42791443ffe50f4b8..b719bd33c6140dd05e5eb715255aa7e24f885c41 100644 (file)
@@ -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);