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
This commit is contained in:
Luigi Rizzo
2007-07-21 09:35:48 +00:00
parent b11d587ab6
commit ed604a6df8
+1 -1
View File
@@ -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;
}