From caa67aa0834fdba630cb88c24ebbfc992db99b56 Mon Sep 17 00:00:00 2001 From: robertc <> Date: Sun, 29 Sep 2002 15:52:36 +0000 Subject: [PATCH] Fix cache digests. Some over enthusiastic search and replacing a while back --- src/client_side_reply.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 */ -- 2.47.2