[asterisk-commits] russell: trunk r179609 - in /trunk: ./ main/channel.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Mar 3 07:54:44 CST 2009


Author: russell
Date: Tue Mar  3 07:54:41 2009
New Revision: 179609

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=179609
Log:
Merged revisions 179608 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r179608 | russell | 2009-03-03 07:53:52 -0600 (Tue, 03 Mar 2009) | 9 lines

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 asterisk-commits mailing list