diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-30 03:13:33 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-01-30 03:13:33 +0000 |
commit | df81c56d1365a5d81d8c46aa4235ae7737d2dcc1 (patch) | |
tree | cca132b8be25dadbe207b7752c6b7b16bc379435 /channels/chan_features.c | |
parent | 666c469664803f6b58e7e2e4e785b71119206c74 (diff) |
Merge Rizzo's waitfor update (bug #4584)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8877 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_features.c')
-rw-r--r-- | channels/chan_features.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/channels/chan_features.c b/channels/chan_features.c index dc2b70a10..7eef2e990 100644 --- a/channels/chan_features.c +++ b/channels/chan_features.c @@ -170,8 +170,8 @@ static void restore_channel(struct feature_pvt *p, int index) p->subs[index].owner->timingfd = p->subs[index].timingfdbackup; p->subs[index].owner->alertpipe[0] = p->subs[index].alertpipebackup[0]; p->subs[index].owner->alertpipe[1] = p->subs[index].alertpipebackup[1]; - p->subs[index].owner->fds[AST_MAX_FDS-1] = p->subs[index].alertpipebackup[0]; - p->subs[index].owner->fds[AST_MAX_FDS-2] = p->subs[index].timingfdbackup; + p->subs[index].owner->fds[AST_ALERT_FD] = p->subs[index].alertpipebackup[0]; + p->subs[index].owner->fds[AST_TIMING_FD] = p->subs[index].timingfdbackup; } static void update_features(struct feature_pvt *p, int index) |