r25035: Fix some more warnings, use service pointer rather than service number in...
[jelmer/samba4-debian.git] / source / ntvfs / common / opendb.c
index 63c6abd3deef41be8211ad6152e9d668d4891885..1b1573bc9610a2f878fe3e6bc77045b8f6e86c0c 100644 (file)
@@ -62,7 +62,7 @@ _PUBLIC_ struct odb_context *odb_init(TALLOC_CTX *mem_ctx,
                                      struct ntvfs_context *ntvfs_ctx)
 {
        if (ops == NULL) {
-               if (lp_parm_bool(-1, "ctdb", "opendb", False)) {
+               if (lp_parm_bool(NULL, "ctdb", "opendb", false)) {
                        odb_ctdb_init_ops();
                } else {
                        odb_tdb_init_ops();