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

FreeSWITCH SVN mikej at freeswitch.org
Fri May 15 09:18:11 PDT 2009


Author: mikej
Date: Fri May 15 11:18:10 2009
New Revision: 13353

Log:
Wed May 13 13:39:29 CDT 2009  Pekka Pessi <first.last at nokia.com>
  * nua_stack_ack(), nua_invite_client_ack(): cleaned code
  Ignore-this: 9edf1594e20f27f4e2effb43c83858ea
    
  Fixed clean-up after ACK.
  
  Coverity issue.



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

Modified: freeswitch/trunk/libs/sofia-sip/.update
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/.update	(original)
+++ freeswitch/trunk/libs/sofia-sip/.update	Fri May 15 11:18:10 2009
@@ -1 +1 @@
-Fri May 15 11:17:02 CDT 2009
+Fri May 15 11:17:32 CDT 2009

Modified: freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c
==============================================================================
--- freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	(original)
+++ freeswitch/trunk/libs/sofia-sip/libsofia-sip-ua/nua/nua_session.c	Fri May 15 11:18:10 2009
@@ -1190,11 +1190,8 @@
     return 1;
   }
 
-  if (tags) {
+  if (tags)
     nua_stack_set_params(nua, nh, nua_i_error, tags);
-    if (nh->nh_soa)
-      soa_set_params(nh->nh_soa, TAG_NEXT(tags));
-  }
 
   nua_client_request_ref(cr);
   error = nua_invite_client_ack(cr, tags);
@@ -1387,8 +1384,8 @@
  error:
   cr->cr_acked = 1;		/* ... or we have at least tried */
 
-  nua_client_request_clean(cr);
   nua_client_request_remove(cr);
+  nua_client_request_clean(cr);
 
   return error;
 }



More information about the Freeswitch-svn mailing list