diff options
| author | Garming Sam <garming@catalyst.net.nz> | 2014-07-09 13:15:33 +1200 |
|---|---|---|
| committer | Michael Adam <obnox@samba.org> | 2014-07-31 08:17:10 +0200 |
| commit | 622e54fc494e56d32ffe6193e9c83452c816f7d0 (patch) | |
| tree | b8a68d3be9c8dc95c626ea244bbad5fcb335c8c0 /lib/param | |
| parent | 4fa98737f4911a539cb0b14b55667015c66a0f52 (diff) | |
| download | samba-622e54fc494e56d32ffe6193e9c83452c816f7d0.tar.gz samba-622e54fc494e56d32ffe6193e9c83452c816f7d0.tar.xz samba-622e54fc494e56d32ffe6193e9c83452c816f7d0.zip | |
param: Use the correct flag locations with lpcfg_parm_is_cmdline
s3 flags are no longer being stored in the param table anymore.
They shouldn't be used in this manner anymore.
Change-Id: Ib97492fd9149e30d7756ca603f79321d7516f19b
Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/param')
| -rw-r--r-- | lib/param/loadparm.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index bc96dc3fb9..912363d048 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -770,14 +770,6 @@ bool lpcfg_parm_is_cmdline(struct loadparm_context *lp_ctx, const char *name) { int parmnum; - if (lp_ctx->s3_fns) { - struct parm_struct *parm = lp_ctx->s3_fns->get_parm_struct(name); - if (parm) { - return parm->flags & FLAG_CMDLINE; - } - return false; - } - parmnum = lpcfg_map_parameter(name); if (parmnum == -1) return false; |
