mirror of
https://github.com/asterisk/asterisk.git
synced 2026-06-28 11:19:11 -07:00
Oops, wrong direction
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@137850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -5270,7 +5270,7 @@ static struct ast_channel *dahdi_new(struct dahdi_pvt *i, int state, int startpb
|
||||
else
|
||||
b2 = ast_safe_string_alloc("%d-%d", i->channel, y);
|
||||
for (x = 0; x < 3; x++) {
|
||||
if ((index != x) && i->subs[x].owner && !strcasecmp(b2, i->subs[x].owner->name + (strncmp(i->subs[x].owner->name, "Zap", 3) ? 4 : 6)))
|
||||
if ((index != x) && i->subs[x].owner && !strcasecmp(b2, i->subs[x].owner->name + (!strncmp(i->subs[x].owner->name, "Zap", 3) ? 4 : 6)))
|
||||
break;
|
||||
}
|
||||
y++;
|
||||
|
||||
Reference in New Issue
Block a user