Fix incorrect variable (bug #4243)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5653 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-05-14 23:45:22 +00:00
parent 23d7376f4d
commit 060b71e52f

View File

@@ -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)