aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-07 20:38:43 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-07 20:38:43 +0000
commit4d714a548871e5858faa4d7b9bdb0ffebccde161 (patch)
treeb4a1d4ac13b7ad2896d52e705bc10dc76563c489 /res
parentb64c7117dddd2cd4dba0a24a3ba60166ee0167c4 (diff)
Big diet for struct ast_channel
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4399 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-xres/res_features.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/res/res_features.c b/res/res_features.c
index 98fb5fb19..1010740c9 100755
--- a/res/res_features.c
+++ b/res/res_features.c
@@ -620,7 +620,9 @@ static void *do_parking_thread(void *ignore)
for (x=0;x<AST_MAX_FDS;x++) {
if ((pu->chan->fds[x] > -1) && (FD_ISSET(pu->chan->fds[x], &rfds) || FD_ISSET(pu->chan->fds[x], &efds))) {
if (FD_ISSET(pu->chan->fds[x], &efds))
- pu->chan->exception = 1;
+ ast_set_flag(pu->chan, AST_FLAG_EXCEPTION);
+ else
+ ast_clear_flag(pu->chan, AST_FLAG_EXCEPTION);
pu->chan->fdno = x;
/* See if they need servicing */
f = ast_read(pu->chan);