Remove gratuitous -1 (bug #6426)
authorMark Spencer <markster@digium.com>
Mon, 20 Feb 2006 06:18:18 +0000 (06:18 +0000)
committerMark Spencer <markster@digium.com>
Mon, 20 Feb 2006 06:18:18 +0000 (06:18 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10536 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index 94fb400..d1229e7 100644 (file)
@@ -11153,7 +11153,7 @@ static int handle_request(struct sip_pvt *p, struct sip_request *req, struct soc
                /* 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;