diff options
author | wilsond <wilsond@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-08-01 16:41:24 +0000 |
---|---|---|
committer | wilsond <wilsond@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2007-08-01 16:41:24 +0000 |
commit | 7080c327984fcbb5b914275437bc5b5c72a873c2 (patch) | |
tree | 3d7a9ff3fac09e8978f7f43e0e099e671b4f85ed /TAO/tao/Profile_Transport_Resolver.cpp | |
parent | 219b6ccbc8c406b5eba3731619f7aea36060bf65 (diff) | |
download | ATCD-7080c327984fcbb5b914275437bc5b5c72a873c2.tar.gz |
ChangeLogTag: Wed Aug 1 15:54:01 UTC 2007 Dale Wilson <wilsond@ociweb.com>
Diffstat (limited to 'TAO/tao/Profile_Transport_Resolver.cpp')
-rw-r--r-- | TAO/tao/Profile_Transport_Resolver.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/tao/Profile_Transport_Resolver.cpp b/TAO/tao/Profile_Transport_Resolver.cpp index 0a60929e532..9d1a7e1d829 100644 --- a/TAO/tao/Profile_Transport_Resolver.cpp +++ b/TAO/tao/Profile_Transport_Resolver.cpp @@ -249,10 +249,12 @@ namespace TAO this->profile_->orb_core()->lane_resources ().transport_cache(); // the cache increments the reference count on the transport if - // 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. + // the find is successful. We want to return a "boolean" of 0 for + // failure, 1 for success. + unsigned int busy_count; TAO_Transport* tmp = this->transport_.get (); - if (cache.find_transport(desc, tmp) != 0) + if (cache.find_transport(desc, tmp, busy_count) + != Transport_Cache_Manager::CACHE_FOUND_AVAILABLE) return 0; this->transport_.set (tmp); |