--------------------- PatchSet 5024 Date: 2002/09/17 20:58:59 Author: rbcollins Branch: fixrange Tag: (none) Log: rename clientCheckContentLength to clientIsContentLengthValid Members: src/client_side.c:1.72.2.16->1.72.2.17 Index: squid/src/client_side.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/client_side.c,v retrieving revision 1.72.2.16 retrieving revision 1.72.2.17 diff -u -r1.72.2.16 -r1.72.2.17 --- squid/src/client_side.c 17 Sep 2002 20:56:01 -0000 1.72.2.16 +++ squid/src/client_side.c 17 Sep 2002 20:58:59 -0000 1.72.2.17 @@ -1,6 +1,6 @@ /* - * $Id: client_side.c,v 1.72.2.16 2002/09/17 20:56:01 rbcollins Exp $ + * $Id: client_side.c,v 1.72.2.17 2002/09/17 20:58:59 rbcollins Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -124,7 +124,7 @@ static CSCB clientSocketRecipient; static CSD clientSocketDetach; static void clientSetKeepaliveFlag(clientHttpRequest *); -static int clientCheckContentLength(request_t * r); +static int clientIsContentLengthValid(request_t * r); static DEFER httpAcceptDefer; static int clientRequestBodyTooLarge(int clen); static void clientProcessBody(ConnStateData * conn); @@ -475,7 +475,7 @@ } static int -clientCheckContentLength(request_t * r) +clientIsContentLengthValid(request_t * r) { switch (r->method) { case METHOD_PUT: @@ -1236,7 +1236,7 @@ readBuffer); break; } - if (!clientCheckContentLength(request)) { + if (!clientIsContentLengthValid(request)) { StoreIOBuffer readBuffer = EMPTYIOBUFFER; clientStreamNode *node = http->client_stream.tail->prev->data; clientSetReplyToError(node->data, ERR_INVALID_REQ,