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

FreeSWITCH SVN mikej at freeswitch.org
Tue Mar 24 08:38:33 PDT 2009


Author: mikej
Date: Tue Mar 24 10:38:33 2009
New Revision: 12739

Log:
Thu Mar  5 13:08:22 CST 2009  Pekka Pessi <first.last at nokia.com>
  * nta.c: nta_leg_tag(leg, NULL) now always returns the tag (old or new)
  Ignore-this: f5a7d67ed90e2c284f6696d6b5b89326



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

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Tue Mar 24 10:38:33 2009
@@ -1 +1 @@
-Tue Mar 24 10:36:48 CDT 2009
+Tue Mar 24 10:37:37 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nta/nta.c	Tue Mar 24 10:38:33 2009
@@ -4391,7 +4391,7 @@
   /* If there already is a tag,
      return NULL if it does not match with new one */
   if (leg->leg_local->a_tag) {
-    if (su_casematch(tag, leg->leg_local->a_tag))
+    if (tag == NULL || su_casematch(tag, leg->leg_local->a_tag))
       return leg->leg_local->a_tag;
     else
       return NULL;



More information about the Freeswitch-svn mailing list