summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-03-19 10:47:23 +0100
committerMichael Adam <obnox@samba.org>2008-03-21 02:25:55 +0100
commit153ed797e61db7feef32af0d256818e66460d064 (patch)
treee0f1e2a56fc1372daeca7dec213628d04b107005 /source3/param
parentfc730cac358e9077da6440a36da35c12d1486032 (diff)
downloadsamba-153ed797e61db7feef32af0d256818e66460d064.tar.gz
samba-153ed797e61db7feef32af0d256818e66460d064.tar.bz2
samba-153ed797e61db7feef32af0d256818e66460d064.zip
libsmbconf: change the API to always take the smbconf_ctx parameter first.
..for consistency. Exception: the open/init function, where the smbconf_ctx is created from the given talloc context. Michael (This used to be commit 304dba6cb2184437f3edad065a530d03fb704036)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 37d68ba4af..a97f8e9c03 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6510,7 +6510,7 @@ static bool process_registry_globals(bool (*pfunc)(const char *, const char *))
goto done;
}
- werr = smbconf_get_share(mem_ctx, conf_ctx, GLOBAL_NAME,
+ werr = smbconf_get_share(conf_ctx, mem_ctx, GLOBAL_NAME,
&num_params, &param_names, &param_values);
if (!W_ERROR_IS_OK(werr)) {
goto done;