From: hno <> Date: Sat, 25 Sep 2004 04:24:33 +0000 (+0000) Subject: Bug #1056: Cache Manager shows wrong setting for 'header_access' and 'header_replace... X-Git-Tag: SQUID_3_0_PRE4~1052 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ff8d6c03003d47bf11fe0d232a8131b814060fba;p=thirdparty%2Fsquid.git Bug #1056: Cache Manager shows wrong setting for 'header_access' and 'header_replace' options --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 49fcd7a466..d381676177 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.cc,v 1.96 2004/08/30 05:12:31 robertc Exp $ + * $Id: HttpHeader.cc,v 1.97 2004/09/24 22:24:33 hno Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -1477,7 +1477,7 @@ httpHeaderNameById(int id) assert(id >= 0 && id < HDR_ENUM_END); - return HeadersAttrs[id].name; + return strBuf(Headers[id].name); } int