[svn-commits] russell: branch 1.4 r179608 - /branches/1.4/main/channel.c

SVN commits to the Digium repositories svn-commits at lists.digium.com
Tue Mar 3 07:53:56 CST 2009


Author: russell
Date: Tue Mar  3 07:53:52 2009
New Revision: 179608

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=179608
Log:
Make it easier to detect an improper call to ast_read().

When you call ast_waitfor() on a channel, the index into the channel fds array
that holds the file descriptor that poll() determines has input available is
stored in fdno.  This patch clears out this value after a call to ast_read()
and also reports errors if ast_read() is called without an fdno set.



More information about the svn-commits mailing list