summaryrefslogtreecommitdiff
path: root/cpp/src/IceGrid/NodeI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/IceGrid/NodeI.cpp')
-rw-r--r--cpp/src/IceGrid/NodeI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/IceGrid/NodeI.cpp b/cpp/src/IceGrid/NodeI.cpp
index 63471ae03b4..4328a4aef85 100644
--- a/cpp/src/IceGrid/NodeI.cpp
+++ b/cpp/src/IceGrid/NodeI.cpp
@@ -890,7 +890,7 @@ NodeI::observerUpdateServer(const ServerDynamicInfo& info)
{
IceUtil::Mutex::Lock sync(_observerMutex);
- if(info.state == Destroyed || info.state == Inactive && info.enabled)
+ if(info.state == Destroyed || (info.state == Inactive && info.enabled))
{
_serversDynamicInfo.erase(info.id);
}