--------------------- PatchSet 11751 Date: 2007/11/20 14:22:07 Author: hno Branch: HEAD Tag: (none) Log: Remove leftover httpHeaderPrint() debug function Members: src/HttpHeader.c:1.96->1.97 Index: squid/src/HttpHeader.c =================================================================== RCS file: /cvsroot/squid/squid/src/HttpHeader.c,v retrieving revision 1.96 retrieving revision 1.97 diff -u -r1.96 -r1.97 --- squid/src/HttpHeader.c 19 Nov 2007 12:21:41 -0000 1.96 +++ squid/src/HttpHeader.c 20 Nov 2007 14:22:07 -0000 1.97 @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.c,v 1.96 2007/11/19 12:21:41 adrian Exp $ + * $Id: HttpHeader.c,v 1.97 2007/11/20 14:22:07 hno Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -141,8 +141,6 @@ }; static HttpHeaderFieldInfo *Headers = NULL; -static void httpHeaderPrint(const HttpHeader * hdr); - /* * headers with field values defined as #(values) in HTTP/1.1 * Headers that are currently not recognized, are commented out. @@ -1469,16 +1467,3 @@ assert(id >= 0 && id < HDR_ENUM_END); return strBuf(Headers[id].name); } - -static void -httpHeaderPrint(const HttpHeader * hdr) -{ - HttpHeaderEntry *he; - HttpHeaderPos i = HttpHeaderInitPos; - - debug(1, 1) ("httpHeaderPrint: %p\n", hdr); - while ((he = httpHeaderGetEntry(hdr, &i))) { - debug(2, 1) (" (%d): %s: %s\n", i, strBuf(he->name), strBuf(he->value)); - } - debug(1, 1) ("httpHeaderPrint: array size %d\n", hdr->entries.count); -}