From: robertc <> Date: Sun, 29 Sep 2002 15:52:36 +0000 (+0000) Subject: Fix cache digests. Some over enthusiastic search and replacing a while back X-Git-Tag: SQUID_3_0_PRE1~726 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=caa67aa0834fdba630cb88c24ebbfc992db99b56;p=thirdparty%2Fsquid.git Fix cache digests. Some over enthusiastic search and replacing a while back --- diff --git a/src/client_side_reply.cc b/src/client_side_reply.cc index 3cba466583..789a576f0c 100644 --- a/src/client_side_reply.cc +++ b/src/client_side_reply.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side_reply.cc,v 1.9 2002/09/26 13:33:08 robertc Exp $ + * $Id: client_side_reply.cc,v 1.10 2002/09/29 09:52:36 robertc Exp $ * * DEBUG: section 88 Client-side Reply Routines * AUTHOR: Robert Collins (Originally Duane Wessels in client_side.c) @@ -1166,7 +1166,7 @@ clientBuildReplyHeader(clientHttpRequest * http, HttpReply * rep) #if USE_CACHE_DIGESTS /* Append X-Cache-Lookup: -- temporary hack, to be removed @?@ @?@ */ httpHeaderPutStrf(hdr, HDR_X_CACHE_LOOKUP, "%s from %s:%d", - context->lookup_type ? context->lookup_type : "NONE", + http->lookup_type ? http->lookup_type : "NONE", getMyHostname(), getMyPort()); #endif if (httpReplyBodySize(request->method, rep) < 0) { @@ -1241,7 +1241,7 @@ clientIdentifyStoreObject(clientHttpRequest * http) ipcacheInvalidate(r->host); #endif #if USE_CACHE_DIGESTS - context->lookup_type = e ? "HIT" : "MISS"; + http->lookup_type = e ? "HIT" : "MISS"; #endif if (NULL == e) { /* this object isn't in the cache */