--------------------- PatchSet 10212 Date: 2007/12/12 09:37:53 Author: adri Branch: s27_adri Tag: (none) Log: strBuf() -> strBuf2(); 121 of these things to go! Members: src/HttpHeader.c:1.28.6.1.4.7->1.28.6.1.4.8 Index: squid/src/HttpHeader.c =================================================================== RCS file: /cvsroot/squid-sf//squid/src/HttpHeader.c,v retrieving revision 1.28.6.1.4.7 retrieving revision 1.28.6.1.4.8 diff -u -r1.28.6.1.4.7 -r1.28.6.1.4.8 --- squid/src/HttpHeader.c 12 Dec 2007 09:07:52 -0000 1.28.6.1.4.7 +++ squid/src/HttpHeader.c 12 Dec 2007 09:37:53 -0000 1.28.6.1.4.8 @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.c,v 1.28.6.1.4.7 2007/12/12 09:07:52 adri Exp $ + * $Id: HttpHeader.c,v 1.28.6.1.4.8 2007/12/12 09:37:53 adri Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -1076,7 +1076,7 @@ assert_eid(id); assert(Headers[id].type == ftDate_1123); /* must be of an appropriate type */ if ((e = httpHeaderFindEntry(hdr, id))) { - value = parse_rfc1123(strBuf(e->value), strLen(e->value)); + value = parse_rfc1123(strBuf2(e->value), strLen2(e->value)); httpHeaderNoteParsedEntry(e->id, e->value, value < 0); } return value;