From 9f519cabfadf0025eefafb938045f9f849cdf3bc Mon Sep 17 00:00:00 2001 From: Garming Sam Date: Thu, 20 Mar 2014 11:30:39 +1300 Subject: [PATCH] s3:param: pass down lp_ctx in handle include 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 Reviewed-by: Andrew Bartlett Reviewed-by: Nadezhda Ivanova --- 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 af4555c74d0..fe0c8f56b9a 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; -- 2.11.4.GIT