diff options
author | Garming Sam <garming@catalyst.net.nz> | 2014-02-28 13:19:16 +1300 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-07-07 23:32:36 +0200 |
commit | 288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6 (patch) | |
tree | e4491d1e3b32f9832aa120a4d93e0ae5ae8057bd /source3/param/loadparm_ctx.c | |
parent | 090fb5a517377a5156f299799fadcd6ae7613f42 (diff) | |
download | samba-288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6.tar.gz samba-288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6.tar.xz samba-288e29b7a9eeee59e85d0b26ca66dd1fc770c6a6.zip |
param: set the flags on a s3 loadparm context
By setting up the flags when we initialize the context, the flags can be
accessed by lib/param at any time.
Change-Id: I60d4f3a9108560e204cf5f37da9c7d995939e146
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/loadparm_ctx.c')
-rw-r--r-- | source3/param/loadparm_ctx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c index 8fffe13cec..9f9ccd44c5 100644 --- a/source3/param/loadparm_ctx.c +++ b/source3/param/loadparm_ctx.c @@ -83,5 +83,6 @@ const struct loadparm_s3_helpers *loadparm_s3_helpers(void) struct loadparm_s3_helpers *helpers; helpers = &s3_fns; helpers->globals = get_globals(); + helpers->flags = get_flags(); return helpers; } |