summaryrefslogtreecommitdiff
path: root/TAO/tao/Transport_Cache_Manager_T.cpp
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2009-02-18 18:57:25 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2009-02-18 18:57:25 +0000
commit8d815b964e4030f223743fecf86e0c10ac485bb9 (patch)
tree117b56ae8a7c87233e64b5638cf48245f5a1d083 /TAO/tao/Transport_Cache_Manager_T.cpp
parent48beda2b0330cb798bed5715bbd1fddea6711512 (diff)
downloadATCD-8d815b964e4030f223743fecf86e0c10ac485bb9.tar.gz
Wed Feb 18 18:57:39 UTC 2009 Johnny Willemsen <jwillemsen@remedy.nl>
* tao/orbconf.h: Removed commented out code * tao/Transport_Cache_Manager_T.cpp: Don't try to always purge 1 entry * tao/Bug_3558_Regression/client.cpp: Set the purging percentage to 100 * tao/Transport_Cache_Manager/Bug_3558_Regression.cpp Fixed gnu warning
Diffstat (limited to 'TAO/tao/Transport_Cache_Manager_T.cpp')
-rw-r--r--TAO/tao/Transport_Cache_Manager_T.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Transport_Cache_Manager_T.cpp b/TAO/tao/Transport_Cache_Manager_T.cpp
index 3c07f94bdb7..b9613bdb08e 100644
--- a/TAO/tao/Transport_Cache_Manager_T.cpp
+++ b/TAO/tao/Transport_Cache_Manager_T.cpp
@@ -613,7 +613,7 @@ namespace TAO
// Calculate the number of entries to purge, when we have
// to purge try to at least to purge minimal of 1 entry
// which is needed if we have a very small cache maximum
- int const amount = (sorted_size * this->percent_) / 100 + 1;
+ int const amount = (sorted_size * this->percent_) / 100;
if (TAO_debug_level > 4)
{