From: Alex Rousskov Date: Wed, 25 May 2011 01:45:27 +0000 (-0600) Subject: Fixed reporting whether mem_cache is shared. X-Git-Tag: take07~14 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23b9466adca0b846f56100640f6818e88e5b3db0;p=thirdparty%2Fsquid.git Fixed reporting whether mem_cache is shared. TODO: That reporting code is misplaced and should be moved to MemStore. --- diff --git a/src/store_dir.cc b/src/store_dir.cc index 8e8e5b82e9..06d50e3784 100644 --- a/src/store_dir.cc +++ b/src/store_dir.cc @@ -871,7 +871,7 @@ StoreHashIndex::init() store_hash_buckets = storeKeyHashBuckets(buckets); debugs(20, 1, "Using " << store_hash_buckets << " Store buckets"); debugs(20, 1, "Max Mem size: " << ( Config.memMaxSize >> 10) << " KB" << - (memStore ? " [shared]" : "")); + (Config.memShared ? " [shared]" : "")); debugs(20, 1, "Max Swap size: " << (Store::Root().maxSize() >> 10) << " KB"); store_table = hash_create(storeKeyHashCmp,