diff options
author | Michael Adam <obnox@samba.org> | 2008-03-21 02:20:16 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2008-03-21 02:25:56 +0100 |
commit | fececde1815bf0469bb56e07cf23f54011c9b4ae (patch) | |
tree | e8ef7c441bf3b8f9268876b33a791e9c87e9012d /source3/param/loadparm.c | |
parent | 6c20e83294f1b288142a2621a393d7c501532d69 (diff) | |
download | samba-fececde1815bf0469bb56e07cf23f54011c9b4ae.tar.gz samba-fececde1815bf0469bb56e07cf23f54011c9b4ae.tar.xz samba-fececde1815bf0469bb56e07cf23f54011c9b4ae.zip |
libsmbconf: add backend specific init function.
Hide generic init function taking smbconf_ops argument
from public api.
Michael
(This used to be commit b3f6920ccb9a27fde26e889a7f1f3afaf56b784f)
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r-- | source3/param/loadparm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index bb3b6141f0..7212969344 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -6497,7 +6497,7 @@ static bool process_registry_globals(bool (*pfunc)(const char *, const char *)) if (conf_ctx == NULL) { /* first time */ - werr = smbconf_init(NULL, &conf_ctx); + werr = smbconf_init_reg(NULL, &conf_ctx); if (!W_ERROR_IS_OK(werr)) { goto done; } @@ -6607,7 +6607,7 @@ bool lp_file_list_changed(void) if (lp_config_backend_is_registry()) { if (conf_ctx == NULL) { WERROR werr; - werr = smbconf_init(NULL, &conf_ctx); + werr = smbconf_init_reg(NULL, &conf_ctx); if (!W_ERROR_IS_OK(werr)) { DEBUG(0, ("error opening configuration: %s\n", dos_errstr(werr))); |