diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-08-02 07:57:53 +0000 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2004-08-02 07:57:53 +0000 |
commit | 8df401005aa72c44e43cbf8d58d010e802131386 (patch) | |
tree | 883e02fa689a9304cbc5dc8856da6adc87818814 | |
parent | 247c662cd27070279dfbefa40aec936f4c94600e (diff) | |
download | ATCD-8df401005aa72c44e43cbf8d58d010e802131386.tar.gz |
ChangeLogTag: Mon Aug 2 07:57:36 UTC 2004 Johnny Willemsen <jwillemsen@remedy.nl>
-rw-r--r-- | TAO/tao/Transport_Cache_Manager.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/TAO/tao/Transport_Cache_Manager.cpp b/TAO/tao/Transport_Cache_Manager.cpp index 64f0be150b1..94e937d3947 100644 --- a/TAO/tao/Transport_Cache_Manager.cpp +++ b/TAO/tao/Transport_Cache_Manager.cpp @@ -393,16 +393,18 @@ TAO_Transport_Cache_Manager::get_last_index_bind (TAO_Cache_ExtId &key, int TAO_Transport_Cache_Manager::is_entry_idle (HASH_MAP_ENTRY *&entry) { + ACE_Recyclable_State recycle_state = entry->int_id_.recycle_state (); + if (TAO_debug_level) { ACE_DEBUG ((LM_DEBUG, - "TAO (%P|%t) - Transport_Cache_Manager::is_entry_idle_i, " + "TAO (%P|%t) - Transport_Cache_Manager::is_entry_idle, " "state is [%d]\n", - entry->int_id_.recycle_state ())); + recycle_state)); } - if (entry->int_id_.recycle_state () == ACE_RECYCLABLE_IDLE_AND_PURGABLE || - entry->int_id_.recycle_state () == ACE_RECYCLABLE_IDLE_BUT_NOT_PURGABLE) + if (recycle_state == ACE_RECYCLABLE_IDLE_AND_PURGABLE || + recycle_state == ACE_RECYCLABLE_IDLE_BUT_NOT_PURGABLE) { return 1; } |