diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-10-19 13:41:38 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-10-19 13:41:38 +0000 |
commit | bf5017c7ca41b3eadf67011f79ef7332998a559b (patch) | |
tree | fc9ba9858183beecc91b2290cd8075968a2f02dc /cpp/src/IceGrid/ReplicaSessionManager.cpp | |
parent | Fixes (diff) | |
download | ice-bf5017c7ca41b3eadf67011f79ef7332998a559b.tar.bz2 ice-bf5017c7ca41b3eadf67011f79ef7332998a559b.tar.xz ice-bf5017c7ca41b3eadf67011f79ef7332998a559b.zip |
Fixes
Diffstat (limited to 'cpp/src/IceGrid/ReplicaSessionManager.cpp')
-rw-r--r-- | cpp/src/IceGrid/ReplicaSessionManager.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/src/IceGrid/ReplicaSessionManager.cpp b/cpp/src/IceGrid/ReplicaSessionManager.cpp index 82adfb54172..6c6d3f91d92 100644 --- a/cpp/src/IceGrid/ReplicaSessionManager.cpp +++ b/cpp/src/IceGrid/ReplicaSessionManager.cpp @@ -398,7 +398,7 @@ ReplicaSessionManager::keepAlive(const ReplicaSessionPrx& session) } ReplicaSessionPrx -ReplicaSessionManager::createSession(const InternalRegistryPrx& registry, IceUtil::Time& timeout) +ReplicaSessionManager::createSession(InternalRegistryPrx& registry, IceUtil::Time& timeout) { ReplicaSessionPrx session; auto_ptr<Ice::Exception> exception; @@ -421,7 +421,7 @@ ReplicaSessionManager::createSession(const InternalRegistryPrx& registry, IceUti { exception.reset(ex.ice_clone()); used.insert(registry); - _thread->setRegistry(InternalRegistryPrx::uncheckedCast(registry->ice_endpoints(Ice::EndpointSeq()))); + registry = InternalRegistryPrx::uncheckedCast(registry->ice_endpoints(Ice::EndpointSeq())); } } @@ -437,7 +437,7 @@ ReplicaSessionManager::createSession(const InternalRegistryPrx& registry, IceUti if(newRegistry && used.find(newRegistry) == used.end()) { session = createSessionImpl(newRegistry, timeout); - _thread->setRegistry(newRegistry); + registry = newRegistry; break; } } |