From: wessels <> Date: Fri, 24 Apr 1998 10:23:07 +0000 (+0000) Subject: ifdef http->lookup_type X-Git-Tag: SQUID_3_0_PRE1~3443 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ca847ddd3856e5b64b664c0e9225e51bd48b477;p=thirdparty%2Fsquid.git ifdef http->lookup_type --- diff --git a/src/client_side.cc b/src/client_side.cc index 2dba8b93ff..60f09e7ba5 100644 --- a/src/client_side.cc +++ b/src/client_side.cc @@ -1,6 +1,6 @@ /* - * $Id: client_side.cc,v 1.287 1998/04/23 22:04:47 rousskov Exp $ + * $Id: client_side.cc,v 1.288 1998/04/24 04:23:07 wessels Exp $ * * DEBUG: section 33 Client-side Routines * AUTHOR: Duane Wessels @@ -1467,7 +1467,9 @@ clientProcessRequest2(clientHttpRequest * http) const cache_key *key = storeKeyPublic(http->uri, r->method); StoreEntry *e; e = http->entry = storeGet(key); +#if SQUID_PEER_DIGEST http->lookup_type = e ? "HIT" : "MISS"; +#endif if (!e) { /* this object isn't in the cache */ return LOG_TCP_MISS;