[asterisk-commits] mmichelson: branch group/pimp_my_sip r379113 - /team/group/pimp_my_sip/res/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 15 09:59:45 CST 2013


Author: mmichelson
Date: Tue Jan 15 09:59:41 2013
New Revision: 379113

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=379113
Log:
Fix up compilation of res_sip.c


Modified:
    team/group/pimp_my_sip/res/res_sip.c

Modified: team/group/pimp_my_sip/res/res_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/pimp_my_sip/res/res_sip.c?view=diff&rev=379113&r1=379112&r2=379113
==============================================================================
--- team/group/pimp_my_sip/res/res_sip.c (original)
+++ team/group/pimp_my_sip/res/res_sip.c Tue Jan 15 09:59:41 2013
@@ -380,7 +380,7 @@
 	return NULL;
 }
 
-static void start_transports(void)
+static int start_transports(void)
 {
 	/* XXX In reality, this should use sorcery to determine
 	 * configured transports and add them to ast_pjsip_endpoint.
@@ -394,7 +394,7 @@
 		return -1;
 	}
 
-	if (pjsip_udp_transport_start(ast_pjsip_endpoint, &addr, NULL, 2, &hardcoded_transport) != PJ_SUCCESS) {
+	if (pjsip_udp_transport_start(ast_pjsip_endpoint, &addr.ipv4, NULL, 2, &hardcoded_transport) != PJ_SUCCESS) {
 		return -1;
 	}
 	return 0;




More information about the asterisk-commits mailing list