https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r284696 | tilghman | 2010-09-02 11:27:52 -0500 (Thu, 02 Sep 2010) | 2 lines
Fixing build
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@284700
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
return FALSE;
}
- if(FD_ISSET(sock, &readfds))
- {
- char buf[2];
+ if (pfds.events & POLLIN) {
+ char buf[2];
if(ooSocketRecvPeek(sock, (ASN1OCTET*) buf, 2) == 0)
{
OOTRACEWARN3("Broken pipe detected. (%s, %s)", call->callType,