ctdb-daemon: Use false instead of 0 for boolean arguments
authorAmitay Isaacs <amitay@gmail.com>
Tue, 24 Jun 2014 01:46:53 +0000 (11:46 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 9 Jul 2014 02:19:12 +0000 (04:19 +0200)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
ctdb/server/ctdb_ltdb_server.c

index 7738f7634659a9ea5c88e2ad08bd11be52aa6ebd..14bfdc32a6f523140e923eab79f4f471770e6258 100644 (file)
@@ -1307,7 +1307,7 @@ static int ctdb_attach_persistent(struct ctdb_context *ctdb,
                }
                p[4] = 0;
 
-               if (ctdb_local_attach(ctdb, s, true, unhealthy_reason, 0) != 0) {
+               if (ctdb_local_attach(ctdb, s, true, unhealthy_reason, false) != 0) {
                        DEBUG(DEBUG_ERR,("Failed to attach to persistent database '%s'\n", de->d_name));
                        closedir(d);
                        talloc_free(s);