diff options
author | Dwayne Boone <dwayne@zeroc.com> | 2007-01-03 18:08:31 +0000 |
---|---|---|
committer | Dwayne Boone <dwayne@zeroc.com> | 2007-01-03 18:08:31 +0000 |
commit | ae899e981811eec7ad4ee2c7bf354174cf7dfeaf (patch) | |
tree | 8606155063f77cf50d0d28e335c544bd776b603a /cpp/src/Ice/ConnectionFactory.cpp | |
parent | Added -bind_at_load, without this we get various crashes in the linker (diff) | |
download | ice-ae899e981811eec7ad4ee2c7bf354174cf7dfeaf.tar.bz2 ice-ae899e981811eec7ad4ee2c7bf354174cf7dfeaf.tar.xz ice-ae899e981811eec7ad4ee2c7bf354174cf7dfeaf.zip |
Bug 1327 - allow getClientProxy to return nil proxy
Diffstat (limited to 'cpp/src/Ice/ConnectionFactory.cpp')
-rw-r--r-- | cpp/src/Ice/ConnectionFactory.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cpp/src/Ice/ConnectionFactory.cpp b/cpp/src/Ice/ConnectionFactory.cpp index 55a01678fd9..1bae93eddb9 100644 --- a/cpp/src/Ice/ConnectionFactory.cpp +++ b/cpp/src/Ice/ConnectionFactory.cpp @@ -390,9 +390,8 @@ IceInternal::OutgoingConnectionFactory::setRouterInfo(const RouterInfoPtr& route // callbacks from the router can be received over such // connections. // - ObjectPrx proxy = routerInfo->getClientProxy(); ObjectAdapterPtr adapter = routerInfo->getAdapter(); - vector<EndpointIPtr> endpoints = proxy->__reference()->getEndpoints(); + vector<EndpointIPtr> endpoints = routerInfo->getClientEndpoints(); vector<EndpointIPtr>::const_iterator p; for(p = endpoints.begin(); p != endpoints.end(); ++p) { |