diff options
Diffstat (limited to 'cpp/src/IceGrid/SessionServantManager.cpp')
-rw-r--r-- | cpp/src/IceGrid/SessionServantManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/SessionServantManager.cpp b/cpp/src/IceGrid/SessionServantManager.cpp index e1a0c491879..d6b5469ffd1 100644 --- a/cpp/src/IceGrid/SessionServantManager.cpp +++ b/cpp/src/IceGrid/SessionServantManager.cpp @@ -49,7 +49,7 @@ SessionServantManager::locate(const Ice::Current& current, Ice::LocalObjectPtr&) else { map<Ice::Identity, ServantInfo>::const_iterator p = _servants.find(current.id); - if(p == _servants.end() || _checkConnection && p->second.connection != current.con) + if(p == _servants.end() || (_checkConnection && p->second.connection != current.con)) { return 0; } |