[asterisk-commits] trunk r10536 - /trunk/channels/chan_sip.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Feb 19 23:18:28 MST 2006


Author: markster
Date: Mon Feb 20 00:18:18 2006
New Revision: 10536

URL: http://svn.digium.com/view/asterisk?rev=10536&view=rev
Log:
Remove gratuitous -1 (bug #6426)

Modified:
    trunk/channels/chan_sip.c

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?rev=10536&r1=10535&r2=10536&view=diff
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Feb 20 00:18:18 2006
@@ -11153,7 +11153,7 @@
 		/* Make sure we don't ignore this */
 		if (seqno == p->pendinginvite) {
 			p->pendinginvite = 0;
-			__sip_ack(p, seqno, FLAG_RESPONSE, -1);
+			__sip_ack(p, seqno, FLAG_RESPONSE, 0);
 			if (!ast_strlen_zero(get_header(req, "Content-Type"))) {
 				if (process_sdp(p, req))
 					return -1;



More information about the asterisk-commits mailing list