diff options
author | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-10 17:44:34 +0000 |
---|---|---|
committer | mmichelson <mmichelson@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-07-10 17:44:34 +0000 |
commit | c763fde19e05b47e5fe2385fb5042a31beab28ce (patch) | |
tree | 945e8a48b9c9154d566e4918cd94724a80d7c98f /channels | |
parent | ce7b3c77902d1da7fa4c53927f6ae1ab49d1122d (diff) |
Fix build.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.0@205880 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 52d5e7455..99fc524cf 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3085,7 +3085,7 @@ static int __sip_autodestruct(const void *data) 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 @@ static int sip_hangup(struct ast_channel *ast) /* 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 */ |