summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2006-02-20 06:18:18 +0000
committerMark Spencer <markster@digium.com>2006-02-20 06:18:18 +0000
commit894c8401d8fe665c3bc20bc889494bf738a2fad4 (patch)
treee9169eabaf9f8717c63fad1bbf4dd577bee08b28 /channels
parent72465ade167d23cf71d838167d926f67f9cf457f (diff)
Remove gratuitous -1 (bug #6426)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10536 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_sip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 94fb400cd..d1229e7d9 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -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;