summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index aaeafac21e..c47e70492a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6596,7 +6596,7 @@ bool lp_file_list_changed(void)
DEBUG(6, ("lp_file_list_changed()\n"));
- if (lp_config_backend() == CONFIG_BACKEND_REGISTRY) {
+ if (lp_config_backend_is_registry()) {
uint64_t conf_cur_seqnum;
if (conf_ctx == NULL) {
WERROR werr;
@@ -8689,7 +8689,7 @@ bool lp_load(const char *pszFname,
}
}
- if (lp_config_backend() == CONFIG_BACKEND_REGISTRY) {
+ if (lp_config_backend_is_registry()) {
/*
* We need to use this extra global variable here to
* survive restart: init_globals usese this as a default
@@ -8702,7 +8702,7 @@ bool lp_load(const char *pszFname,
return lp_load(pszFname, global_only, save_defaults,
add_ipc, initialize_globals);
}
- } else if (lp_config_backend() == CONFIG_BACKEND_REGISTRY) {
+ } else if (lp_config_backend_is_registry()) {
bRetval = process_registry_globals(do_parameter);
} else {
DEBUG(0, ("Illegal config backend given: %d\n",