diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-03-20 11:30:39 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-07-07 23:32:36 +0200 |
commit | 9f519cabfadf0025eefafb938045f9f849cdf3bc (patch) | |
tree | edf77fd678ffedb8934a7b337523bb1236d21c65 /source3/param | |
parent | 76001abf7439f8f46ed82ae8c8795967463d2d83 (diff) | |
download | samba-9f519cabfadf0025eefafb938045f9f849cdf3bc.tar.gz samba-9f519cabfadf0025eefafb938045f9f849cdf3bc.tar.xz samba-9f519cabfadf0025eefafb938045f9f849cdf3bc.zip |
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 <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
Diffstat (limited to 'source3/param')
-rw-r--r-- | source3/param/loadparm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index af4555c74d..fe0c8f56b9 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; |