summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-20 23:41:39 +0100
committerMichael Adam <obnox@samba.org>2008-03-21 02:25:56 +0100
commitadf5bf554cd6bfdc5c6e7b1ed54f7f9329b15c50 (patch)
tree1e021aec112f440d5f86383008a029604f3ca8f4 /source3/param
parentac7c582ec0a357c5b0e53bf38dd09a34eaab64eb (diff)
downloadsamba-adf5bf554cd6bfdc5c6e7b1ed54f7f9329b15c50.tar.gz
samba-adf5bf554cd6bfdc5c6e7b1ed54f7f9329b15c50.tar.bz2
samba-adf5bf554cd6bfdc5c6e7b1ed54f7f9329b15c50.zip
libsmbconf: rename smbconf_open() to smbconf_init().
That's more appropriate. Michael (This used to be commit d7bd9bb8aa2003ec0a9860df26857f67255febe2)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a97f8e9c03..bb3b6141f0 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_open(NULL, &conf_ctx);
+ werr = smbconf_init(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_open(NULL, &conf_ctx);
+ werr = smbconf_init(NULL, &conf_ctx);
if (!W_ERROR_IS_OK(werr)) {
DEBUG(0, ("error opening configuration: %s\n",
dos_errstr(werr)));