dect
/
asterisk
Archived
13
0
Fork 0

whoops... was setting needdestroy on the wrong dialog.

(spotted by a diff with my own branch)



git-svn-id: http://svn.digium.com/svn/asterisk/trunk@76279 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
rizzo 2007-07-21 09:35:48 +00:00
parent 1ba68e33ae
commit 704310b667
1 changed files with 1 additions and 1 deletions

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;
}