From 85e28c9b4f18bc532365e6855e1fd5cb3b18e4aa Mon Sep 17 00:00:00 2001 From: hno <> Date: Mon, 27 Jan 2003 15:08:51 +0000 Subject: [PATCH] date: 2003/01/21 00:04:10; author: wessels; state: Exp; lines: +0 -1 peer_select_alg_t type is not really used anywhere. No code sets clientHttpRequest->HierarchyLogEntry->alg and the switch statement in clientUpdateCounters() does nothing. This patch removes peer_select_alg_t and HierarchyLogEntry->alg, and changes the switch statement to use HierarchyLogEntry->code instead. --- src/structs.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/structs.h b/src/structs.h index 96d88690c0..f2059324e4 100644 --- a/src/structs.h +++ b/src/structs.h @@ -1,6 +1,6 @@ /* - * $Id: structs.h,v 1.442 2003/01/23 00:37:27 robertc Exp $ + * $Id: structs.h,v 1.443 2003/01/27 08:08:51 hno Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -823,7 +823,6 @@ struct _HierarchyLogEntry { char host[SQUIDHOSTNAMELEN]; ping_data ping; char cd_host[SQUIDHOSTNAMELEN]; /* the host of selected by cd peer */ - peer_select_alg_t alg; /* peer selection algorithm */ lookup_t cd_lookup; /* cd prediction: none, miss, hit */ int n_choices; /* #peers we selected from (cd only) */ int n_ichoices; /* #peers with known rtt we selected from (cd only) */ -- 2.47.3