aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_features.c
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-30 03:13:33 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2006-01-30 03:13:33 +0000
commitdf81c56d1365a5d81d8c46aa4235ae7737d2dcc1 (patch)
treecca132b8be25dadbe207b7752c6b7b16bc379435 /channels/chan_features.c
parent666c469664803f6b58e7e2e4e785b71119206c74 (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.c4
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)