[Asterisk-cvs] asterisk/res res_features.c,1.21,1.22
markster at lists.digium.com
markster at lists.digium.com
Tue Dec 7 15:41:00 CST 2004
Update of /usr/cvsroot/asterisk/res
In directory mongoose.digium.com:/tmp/cvs-serv29951/res
Modified Files:
res_features.c
Log Message:
Big diet for struct ast_channel
Index: res_features.c
===================================================================
RCS file: /usr/cvsroot/asterisk/res/res_features.c,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- res_features.c 3 Nov 2004 22:37:55 -0000 1.21
+++ res_features.c 7 Dec 2004 20:38:43 -0000 1.22
@@ -620,7 +620,9 @@
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);
More information about the svn-commits
mailing list