diff options
author | Luigi Rizzo <rizzo@icir.org> | 2007-07-21 09:35:48 +0000 |
---|---|---|
committer | Luigi Rizzo <rizzo@icir.org> | 2007-07-21 09:35:48 +0000 |
commit | ed604a6df85998e794b1c88e2efc811e9d5e3cf0 (patch) | |
tree | 0a7a18631bd036f7058112ce8071049896539ff8 /channels/chan_sip.c | |
parent | b11d587ab60923cdaa7a7c27f016c90b751c83d9 (diff) |
whoops... was setting needdestroy on the wrong dialog.
(spotted by a diff with my own branch)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76279 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/chan_sip.c')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 1f3b27c2a..773f34004 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -15550,7 +15550,7 @@ static int handle_request_subscribe(struct sip_pvt *p, struct sip_request *req, if (!strcmp(p_old->username, p->username)) { if (!strcmp(p_old->exten, p->exten) && !strcmp(p_old->context, p->context)) { - p->needdestroy = 1; + p_old->needdestroy = 1; sip_pvt_unlock(p_old); break; } |