summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2014-09-18 00:29:28 +0200
committerIra Cooper <ira@samba.org>2015-04-22 13:57:30 +0200
commit7af9d238b5f36a48a7f1fe42f18837af817f41bd (patch)
tree64c8831092e48ba11ae415bee6d141b5b1c301a9
parent14c1e05165c19e5048b8905f293a635343f74e9c (diff)
downloadsamba-7af9d238b5f36a48a7f1fe42f18837af817f41bd.tar.gz
s3:param: use lp_load_no_reinit() in lp_load_for_s4_ctx()
Signed-off-by: Michael Adam <obnox@samba.org> Reviewed-by: Ira Cooper <ira@samba.org>
-rw-r--r--source3/param/loadparm_ctx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c
index fdad041e677..645b787acb9 100644
--- a/source3/param/loadparm_ctx.c
+++ b/source3/param/loadparm_ctx.c
@@ -50,7 +50,7 @@ static bool lp_load_for_s4_ctx(const char *filename)
bool status;
mem_ctx = talloc_stackframe();
- status = lp_load(filename, false, false, false, false);
+ status = lp_load_no_reinit(filename);
talloc_free(mem_ctx);
return status;