mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Minor chan_features tweak
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4545 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -142,6 +142,9 @@ static void swap_subs(struct feature_pvt *p, int a, int b)
|
||||
}
|
||||
if (p->subs[b].owner) {
|
||||
for (x=0;x<AST_MAX_FDS;x++)
|
||||
if (b)
|
||||
p->subs[b].owner->fds[x] = -1;
|
||||
else
|
||||
p->subs[b].owner->fds[x] = p->subchan->fds[x];
|
||||
}
|
||||
wakeup_sub(p, a);
|
||||
|
Reference in New Issue
Block a user