libctdb: more bool conversion, and accompany lock by ctdb_db in API
[rusty/ctdb.git] / libctdb / sync.c
index 3ee33011a23a27e0a3b2a791186886f615fafcb8..11cd6cad746a168962faf184db67dbb22e31820f 100644 (file)
@@ -77,7 +77,7 @@ bool ctdb_getrecmaster(struct ctdb_connection *ctdb,
 }
 
 struct ctdb_db *ctdb_attachdb(struct ctdb_connection *ctdb,
-                             const char *name, int persistent,
+                             const char *name, bool persistent,
                              uint32_t tdb_flags)
 {
        struct ctdb_request *req;