[Freeswitch-svn] [commit] r6086 - freeswitch/trunk/src/mod/endpoints/mod_wanpipe

Freeswitch SVN mikej at freeswitch.org
Mon Oct 29 15:15:26 EDT 2007


Author: mikej
Date: Mon Oct 29 15:15:26 2007
New Revision: 6086

Modified:
   freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c

Log:
this should not have compiled, but gcc didn't complain.  fix for MODENDP-32

Modified: freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c
==============================================================================
--- freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c	(original)
+++ freeswitch/trunk/src/mod/endpoints/mod_wanpipe/mod_wanpipe.c	Mon Oct 29 15:15:26 2007
@@ -1062,7 +1062,7 @@
 
 	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 @@
 	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 @@
 	}
 
 	
-	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);



More information about the Freeswitch-svn mailing list