Add another sanity check in the AGI read loop. We really don't care about
commit8e837dc599cc150cdf9dff6b47882e57e87e13d8
authorrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 1 Oct 2007 19:56:28 +0000 (1 19:56 +0000)
committerrussell <russell@614ede4d-c843-0410-af14-a771ab80d22e>
Mon, 1 Oct 2007 19:56:28 +0000 (1 19:56 +0000)
tree6ba7c77d654c630e365f7739c475074aa0f763ae
parentdd443d6541a4d18071f479d4adfdd3c9ce61298e
Add another sanity check in the AGI read loop.  We really don't care about
EAGAIN unless we didn't read an entire line.  If there is a newline at the
end if the read buffer, break, because we got the whole thing.
(reported and patched by bmd)

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@84236 614ede4d-c843-0410-af14-a771ab80d22e
res/res_agi.c