[Freeswitch-svn] [commit] r12302 - in freeswitch/trunk/libs/sofia-sip: . libsofia-sip-ua/soa

FreeSWITCH SVN mikej at freeswitch.org
Thu Feb 26 10:31:50 PST 2009


Author: mikej
Date: Thu Feb 26 12:31:50 2009
New Revision: 12302

Log:
Thu Feb 26 09:15:52 CST 2009  Pekka Pessi <first.last at nokia.com>
  * soa.c: fix address matching with user sdp w/out session c= line
  Ignore-this: 9aa560f8abd799d46e38c2e4ee0ca23c



Modified:
   freeswitch/trunk/libs/sofia-sip/.update
   freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa.c

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Thu Feb 26 12:31:50 2009
@@ -1 +1 @@
-Thu Feb 26 12:23:25 CST 2009
+Thu Feb 26 12:31:34 CST 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/soa/soa.c	Thu Feb 26 12:31:50 2009
@@ -2454,12 +2454,10 @@
       if (m->m_rejected)
 		  continue;
 
-	  if (sdp && sdp->sdp_connection && sdp->sdp_connection->c_address) {
-		  for (mc = m->m_connections; mc; mc = mc->c_next) {
-			  for (li = res; li; li = li->li_next) {
-				  if (!li->li_canonname || !su_casematch(li->li_canonname, sdp->sdp_connection->c_address)) {
-					  continue;
-				  }
+      for (mc = m->m_connections; mc; mc = mc->c_next) {
+	for (li = res; li; li = li->li_next) {
+	  if (!su_casematch(li->li_canonname, mc->c_address))
+	    continue;
 #if HAVE_SIN6
 				  if (li->li_family == AF_INET6) {
 					  if (ip6 > ip4)



More information about the Freeswitch-svn mailing list