--------------------- PatchSet 1183 Date: 2005/01/09 17:01:17 Author: serassio Branch: nt Tag: (none) Log: Ran astyle Members: src/comm.cc:1.19.2.31->1.19.2.32 Index: squid3/src/comm.cc =================================================================== RCS file: /cvsroot/squid-sf//squid3/src/comm.cc,v retrieving revision 1.19.2.31 retrieving revision 1.19.2.32 diff -u -r1.19.2.31 -r1.19.2.32 --- squid3/src/comm.cc 9 Jan 2005 16:58:40 -0000 1.19.2.31 +++ squid3/src/comm.cc 9 Jan 2005 17:01:17 -0000 1.19.2.32 @@ -1,6 +1,6 @@ /* - * $Id: comm.cc,v 1.19.2.31 2005/01/09 16:58:40 serassio Exp $ + * $Id: comm.cc,v 1.19.2.32 2005/01/09 17:01:17 serassio Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1947,13 +1947,17 @@ int nonblocking = TRUE; #ifdef _SQUID_CYGWIN_ + if (fd_table[fd].type != FD_PIPE) { #endif + if (ioctl(fd, FIONBIO, &nonblocking) < 0) { debug(50, 0) ("commSetNonBlocking: FD %d: %s %d\n", fd, xstrerror(), fd_table[fd].type); return COMM_ERROR; } + #ifdef _SQUID_CYGWIN_ + } else { #endif #endif