From: hno <> Date: Sun, 26 Sep 2004 22:38:01 +0000 (+0000) Subject: C++ merge bugfixes. Thanks Guido! X-Git-Tag: SQUID_3_0_PRE4~1044 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=849b826a692853a840ed87d408316755ced91e9e;p=thirdparty%2Fsquid.git C++ merge bugfixes. Thanks Guido! --- diff --git a/src/HttpHeader.cc b/src/HttpHeader.cc index d381676177..d587cf62f4 100644 --- a/src/HttpHeader.cc +++ b/src/HttpHeader.cc @@ -1,6 +1,6 @@ /* - * $Id: HttpHeader.cc,v 1.97 2004/09/24 22:24:33 hno Exp $ + * $Id: HttpHeader.cc,v 1.98 2004/09/26 16:38:01 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 strBuf(Headers[id].name); + return Headers[id].name.buf(); } int diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index 0dfedd3bb9..d8127063a2 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.71 2004/09/25 15:54:12 hno Exp $ + * $Id: client_side_reply.cc,v 1.72 2004/09/26 16:38:01 hno Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -750,7 +750,7 @@ clientReplyContext::cacheHit(StoreIOBuffer result) */ if (e->store_status != STORE_OK) - http->log_type = LOG_TCP_MISS; + http->logType = LOG_TCP_MISS; else if (e->mem_status == IN_MEMORY) http->logType = LOG_TCP_MEM_HIT; else if (Config.onoff.offline)