]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Only do the chan->fdno check in ast_read() in a developer build.
authorRussell Bryant <russell@russellbryant.com>
Mon, 20 Jul 2009 16:26:24 +0000 (16:26 +0000)
committerRussell Bryant <russell@russellbryant.com>
Mon, 20 Jul 2009 16:26:24 +0000 (16:26 +0000)
commit8b67a333696e8443b6101714d793029721b8c5fe
tree63b98e0af2c4ae01a03b3f8fe4c3a4dc7ff7f4a7
parentd162e4b055b386ca4a7220c9e4ef589740f96217
Only do the chan->fdno check in ast_read() in a developer build.

I changed this check to only happen in a dev-mode build.  I also added a
comment explaining what is going on.  I also made it so that detection of
this situation does not affect ast_read() operation.

(closes issue #14723)
Reported by: seadweller

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