From 755511d28df7d0f16abfc37e9c5a607e075fc7fe Mon Sep 17 00:00:00 2001 From: Ronnie Sahlberg Date: Thu, 18 Oct 2007 16:54:00 +1000 Subject: [PATCH] set the flags explicitely isnstead of masking them in (This used to be ctdb commit 27a5f9dead44890683f9dbc4f07cda11264aa03b) --- ctdb/server/ctdb_server.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctdb/server/ctdb_server.c b/ctdb/server/ctdb_server.c index 5c579f00228..5cdc2a5deaf 100644 --- a/ctdb/server/ctdb_server.c +++ b/ctdb/server/ctdb_server.c @@ -120,7 +120,7 @@ static int ctdb_add_node(struct ctdb_context *ctdb, char *nstr) node->pnn = ctdb->num_nodes; /* nodes start out disconnected and unhealthy */ - node->flags |= NODE_FLAGS_DISCONNECTED | NODE_FLAGS_UNHEALTHY; + node->flags = (NODE_FLAGS_DISCONNECTED | NODE_FLAGS_UNHEALTHY); if (ctdb->address.address && ctdb_same_address(&ctdb->address, &node->address)) { -- 2.47.3