]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Ensure chan->fdno always gets reset to -1 after handling a channel fd event.
authorRussell Bryant <russell@russellbryant.com>
Tue, 3 Mar 2009 16:45:46 +0000 (16:45 +0000)
committerRussell Bryant <russell@russellbryant.com>
Tue, 3 Mar 2009 16:45:46 +0000 (16:45 +0000)
commit2e4471d758f9f896e6c6847812aae73bab1884a9
tree94819ca8d1dfc121fedb9ad7f6fecebfecd6624d
parent3f2a1247f47ea2aa46075fdfc880ef4bd0b736d3
Ensure chan->fdno always gets reset to -1 after handling a channel fd event.

Since setting fdno to -1 had to be moved, a couple of other code paths that
do process an fd event return early and do not pass through the code path
where it was moved to.  So, set it to -1 in a few other places, too.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@179741 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/channel.c