[PATCH 35/37] s3:param: pass down lp_ctx in handle include
abartlet at samba.org
abartlet at samba.org
Fri Jun 20 05:47:57 MDT 2014
From: Garming Sam <garming at catalyst.net.nz>
Currently the lp_ctx will never actually be used as it will still go
through the current s3 code.
Change-Id: Iff236aea79b2294deb8faf175c7425d075a0f4c4
Signed-off-by: Garming Sam <garming at catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet at samba.org>
---
source3/param/loadparm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 3610784..2382437 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -2409,7 +2409,7 @@ bool lp_include(struct loadparm_context *lp_ctx, int snum, const char *pszParmVa
if (file_exist(fname)) {
bool ret;
include_depth++;
- ret = pm_process(fname, lp_do_section, do_parameter, NULL);
+ ret = pm_process(fname, lp_do_section, do_parameter, lp_ctx);
include_depth--;
TALLOC_FREE(fname);
return ret;
--
1.9.3
More information about the samba-technical
mailing list