From: hno <> Date: Mon, 17 Jun 2002 01:48:04 +0000 (+0000) Subject: Corrected a misgiving comment. httpHeaderGetByName returns by value, X-Git-Tag: SQUID_3_0_PRE1~975 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=bd412580866d7050b877f5e27e0021c75f48ebaf;p=thirdparty%2Fsquid.git Corrected a misgiving comment. httpHeaderGetByName returns by value, not pointer. --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index 01dcf432ac..640ab52f3e 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.cc,v 1.75 2002/04/07 00:41:54 hno Exp $ + * $Id: HttpHeader.cc,v 1.76 2002/06/16 19:48:04 hno Exp $ * * DEBUG: section 55 HTTP Header * AUTHOR: Alex Rousskov @@ -634,9 +634,7 @@ httpHeaderGetStrOrList(const HttpHeader * hdr, http_hdr_type id) } /* - * returns a pointer to a specified entry if any - * note that we return one entry so it does not make much sense to ask for - * "list" headers + * Returns the value of the specified header. */ String httpHeaderGetByName(const HttpHeader * hdr, const char *name)