From: adrian <> Date: Sun, 12 Aug 2001 01:09:21 +0000 (+0000) Subject: Oops, make sure we actually *set* the selected flag! X-Git-Tag: SQUID_3_0_PRE1~1450 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ade906c8d56c153af547498eaf4d64da7aef0805;p=thirdparty%2Fsquid.git Oops, make sure we actually *set* the selected flag! --- diff --git a/src/store_dir.cc b/src/store_dir.cc index 053016b93a..b37fd61cd7 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -1,6 +1,6 @@ /* - * $Id: store_dir.cc,v 1.132 2001/08/11 16:34:37 adrian Exp $ + * $Id: store_dir.cc,v 1.133 2001/08/11 19:09:21 adrian Exp $ * * DEBUG: section 47 Store Directory Routines * AUTHOR: Duane Wessels @@ -224,6 +224,8 @@ storeDirSelectSwapDirLeastLoad(const StoreEntry * e) most_free = cur_free; dirn = i; } + if (dirn >= 0) + Config.cacheSwap.swapDirs[dirn].flags.selected = 1; return dirn; }