[asterisk-commits] tilghman: branch 1.8 r284696 - /branches/1.8/addons/ooh323c/src/oochannels.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Sep 2 11:27:56 CDT 2010


Author: tilghman
Date: Thu Sep  2 11:27:52 2010
New Revision: 284696

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=284696
Log:
Fixing build

Modified:
    branches/1.8/addons/ooh323c/src/oochannels.c

Modified: branches/1.8/addons/ooh323c/src/oochannels.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/addons/ooh323c/src/oochannels.c?view=diff&rev=284696&r1=284695&r2=284696
==============================================================================
--- branches/1.8/addons/ooh323c/src/oochannels.c (original)
+++ branches/1.8/addons/ooh323c/src/oochannels.c Thu Sep  2 11:27:52 2010
@@ -1994,9 +1994,8 @@
       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, 




More information about the asterisk-commits mailing list