--------------------- PatchSet 2180 Date: 2001/05/02 02:28:04 Author: rbcollins Branch: newhttp Tag: (none) Log: bzero->memset for portability Members: src/comm.c:1.1.1.3.8.7.4.3.2.1->1.1.1.3.8.7.4.3.2.2 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.1 retrieving revision 1.1.1.3.8.7.4.3.2.2 diff -u -r1.1.1.3.8.7.4.3.2.1 -r1.1.1.3.8.7.4.3.2.2 --- squid/src/comm.c 1 May 2001 19:40:53 -0000 1.1.1.3.8.7.4.3.2.1 +++ squid/src/comm.c 2 May 2001 02:28:04 -0000 1.1.1.3.8.7.4.3.2.2 @@ -1,6 +1,6 @@ /* - * $Id: comm.c,v 1.1.1.3.8.7.4.3.2.1 2001/05/01 19:40:53 adri Exp $ + * $Id: comm.c,v 1.1.1.3.8.7.4.3.2.2 2001/05/02 02:28:04 rbcollins Exp $ * * DEBUG: section 5 Socket Functions * AUTHOR: Harvest Derived @@ -1004,7 +1004,7 @@ void *handler_data = rstate->handler_data; /* Blank the state now we have a copy of it */ - bzero(&fd_table[fd].rstate, sizeof(CommReadStateData)); + memset(&fd_table[fd].rstate, '\0', sizeof(CommReadStateData)); /* call the handler */ handler(fd, buf, offset, size, len, flag, handler_data);