Fix incorrect variable (bug #4243)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
1.2-netsec
Mark Spencer 22 years ago
parent 23d7376f4d
commit 060b71e52f

@ -459,7 +459,7 @@ static struct ast_channel *features_new(struct feature_pvt *p, int state, int in
for (y=0;y<3;y++) {
if (y == index)
continue;
if (p->subs[x].owner && !strcasecmp(p->subs[x].owner->name, tmp->name))
if (p->subs[y].owner && !strcasecmp(p->subs[y].owner->name, tmp->name))
break;
}
if (y >= 3)

Loading…
Cancel
Save