From 64cc1377098911c5fc7522734b1338683889c3c9 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 17 Sep 2013 15:56:54 +0200 Subject: [PATCH] cluster: Fix default privileges. --- components/cluster/clustercomponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/cluster/clustercomponent.cpp b/components/cluster/clustercomponent.cpp index fc496487b..07319631d 100644 --- a/components/cluster/clustercomponent.cpp +++ b/components/cluster/clustercomponent.cpp @@ -106,7 +106,7 @@ void ClusterComponent::Start(void) privs |= domainObj->GetPrivileges(endpoint->GetName()); } } else { - privs = ~0; + privs = INT_MAX; } Log(LogDebug, "cluster", "Privileges for object '" + object->GetName() + "' of type '" + object->GetType()->GetName() + "' for instance '" + endpoint->GetName() + "' are '" + Convert::ToString(privs) + "'"); -- 2.40.0