[asterisk-commits] mmichelson: branch 1.6.0 r205880 - /branches/1.6.0/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jul 10 12:44:38 CDT 2009


Author: mmichelson
Date: Fri Jul 10 12:44:34 2009
New Revision: 205880

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=205880
Log:
Fix build.


Modified:
    branches/1.6.0/channels/chan_sip.c

Modified: branches/1.6.0/channels/chan_sip.c
URL: http://svn.asterisk.org/svn-view/asterisk/branches/1.6.0/channels/chan_sip.c?view=diff&rev=205880&r1=205879&r2=205880
==============================================================================
--- branches/1.6.0/channels/chan_sip.c (original)
+++ branches/1.6.0/channels/chan_sip.c Fri Jul 10 12:44:34 2009
@@ -3085,7 +3085,7 @@
 			append_history(p, "ReliableXmit", "timeout");
 			if (sscanf(p->lastmsg, "Tx: %s", method_str) == 1 || sscanf(p->lastmsg, "Rx: %s", method_str) == 1) {
 				if (method_match(SIP_CANCEL, method_str) || method_match(SIP_BYE, method_str)) {
-					pvt_set_needdestroy(p, "autodestruct");
+					p->needdestroy = 1;
 				}
 			}
 			return 10000;
@@ -5128,7 +5128,7 @@
 				/* stop retransmitting an INVITE that has not received a response */
 				struct sip_pkt *cur;
 				for (cur = p->packets; cur; cur = cur->next) {
-					__sip_semi_ack(p, cur->seqno, cur->is_resp, cur->method ? cur->method : find_sip_method(cur->data->str));
+					__sip_semi_ack(p, cur->seqno, cur->is_resp, cur->method ? cur->method : find_sip_method(cur->data));
 				}
 
 				/* if we can't send right now, mark it pending */




More information about the asterisk-commits mailing list