]> git.ipfire.org Git - thirdparty/asterisk.git/commit
If an error occurs when reading from an RTP socket, and the error code does not
authorRussell Bryant <russell@russellbryant.com>
Thu, 29 Mar 2007 17:14:33 +0000 (17:14 +0000)
committerRussell Bryant <russell@russellbryant.com>
Thu, 29 Mar 2007 17:14:33 +0000 (17:14 +0000)
commit9956c33fec1fdbf878c7d84c289afb9f88ba1fca
tree11af8fa47e81c37ca4e960157df1637241049a19
parentb87695d824e86e8b506bc2ca3549606a8ef83dc6
If an error occurs when reading from an RTP socket, and the error code does not
indicate that we should try again, then return NULL instead of a "null frame".
This will prevent Asterisk from trying over and over again, and eventually
causing the system to crash.  (issue #8285, john)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@59357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
rtp.c