diff options
author | Benoit Foucher <benoit@zeroc.com> | 2008-03-21 14:35:12 +0100 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2008-03-21 14:35:12 +0100 |
commit | f89c4fbac65ec47ff9643110c5a9c543355cfa5e (patch) | |
tree | cab70e997c6ce408ae46d0674e505b5e6a43a72d /cpp/src/Ice/RouterInfo.cpp | |
parent | Fixed bug 2867 (diff) | |
download | ice-f89c4fbac65ec47ff9643110c5a9c543355cfa5e.tar.bz2 ice-f89c4fbac65ec47ff9643110c5a9c543355cfa5e.tar.xz ice-f89c4fbac65ec47ff9643110c5a9c543355cfa5e.zip |
Fixed bug 2840
Diffstat (limited to 'cpp/src/Ice/RouterInfo.cpp')
-rw-r--r-- | cpp/src/Ice/RouterInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/Ice/RouterInfo.cpp b/cpp/src/Ice/RouterInfo.cpp index 5e62d7979f0..b9d17a66dbd 100644 --- a/cpp/src/Ice/RouterInfo.cpp +++ b/cpp/src/Ice/RouterInfo.cpp @@ -265,7 +265,7 @@ IceInternal::RouterInfo::addProxy(const Ice::ObjectPrx& proxy, const AddProxyCal assert(proxy); { IceUtil::Mutex::Lock sync(*this); - if(_identities.find(proxy->ice_getIdentity()) == _identities.end()) + if(_identities.find(proxy->ice_getIdentity()) != _identities.end()) { // // Only add the proxy to the router if it's not already in our local map. |