From bd412580866d7050b877f5e27e0021c75f48ebaf Mon Sep 17 00:00:00 2001 From: hno <> Date: Mon, 17 Jun 2002 01:48:04 +0000 Subject: [PATCH] Corrected a misgiving comment. httpHeaderGetByName returns by value, not pointer. --- src/HttpHeader.cc | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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) -- 2.47.3