From 68defc4ef32bb7456087b7f4e73123c1737381aa Mon Sep 17 00:00:00 2001 From: wessels <> Date: Thu, 17 Jul 2003 21:40:27 +0000 Subject: [PATCH] bugzilla #710: round-robin cache_dir selection incorrectly compares max-size --- src/store_dir.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/store_dir.cc b/src/store_dir.cc index 31c65031d7..0edb6d46f0 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir.cc,v 1.146 2003/06/24 12:42:27 robertc Exp $ + * $Id: store_dir.cc,v 1.147 2003/07/17 15:40:27 wessels Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -187,7 +187,7 @@ storeDirSelectSwapDirRoundRobin(const StoreEntry * e) if (sd->cur_size > sd->max_size) continue; - if (!storeDirValidSwapDirSize(i, objsize)) + if (!storeDirValidSwapDirSize(dirn, objsize)) continue; /* check for error or overload condition */ -- 2.47.2