diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-02-18 18:57:25 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2009-02-18 18:57:25 +0000 |
commit | 8d815b964e4030f223743fecf86e0c10ac485bb9 (patch) | |
tree | 117b56ae8a7c87233e64b5638cf48245f5a1d083 /TAO/tao/Transport_Cache_Manager_T.cpp | |
parent | 48beda2b0330cb798bed5715bbd1fddea6711512 (diff) | |
download | ATCD-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.cpp | 2 |
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) { |