--------------------- PatchSet 2186 Date: 2001/05/02 12:13:34 Author: adri Branch: newhttp Tag: (none) Log: Should use FD_READ_METHOD() ;-) Members: src/comm.c:1.1.1.3.8.7.4.3.2.2->1.1.1.3.8.7.4.3.2.3 Index: squid/src/comm.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/comm.c,v retrieving revision 1.1.1.3.8.7.4.3.2.2 retrieving revision 1.1.1.3.8.7.4.3.2.3 diff -u -r1.1.1.3.8.7.4.3.2.2 -r1.1.1.3.8.7.4.3.2.3 --- squid/src/comm.c 2 May 2001 02:28:04 -0000 1.1.1.3.8.7.4.3.2.2 +++ squid/src/comm.c 2 May 2001 12:13:34 -0000 1.1.1.3.8.7.4.3.2.3 @@ -1,6 +1,6 @@ /* - * $Id: comm.c,v 1.1.1.3.8.7.4.3.2.2 2001/05/02 02:28:04 rbcollins Exp $ + * $Id: comm.c,v 1.1.1.3.8.7.4.3.2.3 2001/05/02 12:13:34 adri Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1027,7 +1027,7 @@ return; /* Attempt a read */ - retval = read(fd, rstate->buf + rstate->offset, rstate->size); + retval = FD_READ_METHOD(fd, rstate->buf + rstate->offset, rstate->size); if (retval > 0) { /* We were able to write some data */ commReadCallback(fd, retval, COMM_OK);