summaryrefslogtreecommitdiff
path: root/TAO/tao/Profile_Transport_Resolver.cpp
diff options
context:
space:
mode:
authorwilsond <wilsond@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-08-17 16:05:00 +0000
committerwilsond <wilsond@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2007-08-17 16:05:00 +0000
commit2ddf1fe1e62995029505307c10278907b864b840 (patch)
tree81c561ab2c70651997fd7cc1c8eb2e334168e54c /TAO/tao/Profile_Transport_Resolver.cpp
parent17face89cd16f24058be979e123b9114c73ed918 (diff)
downloadATCD-2ddf1fe1e62995029505307c10278907b864b840.tar.gz
ChangeLogTag: Fri Aug 17 15:50:19 UTC 2007 Dale Wilson <wilsond@ociweb.com>
Diffstat (limited to 'TAO/tao/Profile_Transport_Resolver.cpp')
-rw-r--r--TAO/tao/Profile_Transport_Resolver.cpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/TAO/tao/Profile_Transport_Resolver.cpp b/TAO/tao/Profile_Transport_Resolver.cpp
index adf82efc322..a2fadc1934f 100644
--- a/TAO/tao/Profile_Transport_Resolver.cpp
+++ b/TAO/tao/Profile_Transport_Resolver.cpp
@@ -248,12 +248,10 @@ namespace TAO
this->profile_->orb_core()->lane_resources ().transport_cache();
// the cache increments the reference count on the transport if
- // the find is successful. We want to return a "boolean" of 0 for
- // failure, 1 for success.
- size_t busy_count;
+ // the find is successful. Cache.find_transport returns 0 on success.
+ // but we want to return a "boolean" of 0 for failure, 1 for success.
TAO_Transport* tmp = this->transport_.get ();
- if (cache.find_transport(desc, tmp, busy_count)
- != Transport_Cache_Manager::CACHE_FOUND_AVAILABLE)
+ if (cache.find_transport(desc, tmp) != 0)
return 0;
this->transport_.set (tmp);