From 8ffb36885374c0ccc31aa03edb0a63a30e420bf5 Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Thu, 20 Nov 2008 21:37:07 +0000 Subject: [PATCH] Change this so it actually compiles. Thanks, Terry! git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@158223 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_sip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 651aabd771..b7f37abc63 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16067,7 +16067,7 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ * response to a BYE. */ if (resp >= 400 && resp < 500 && sipmethod == SIP_BYE) { - pvt_set_needdestroy(p, "received 4XX response to a BYE"); + p->needdestroy = 1; return; }