Fixing build

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284696 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2010-09-02 16:27:52 +00:00
parent c69a826812
commit 90264f386e

View File

@@ -1994,9 +1994,8 @@ OOBOOL ooChannelsIsConnectionOK(OOH323CallData *call, OOSOCKET sock)
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,