summaryrefslogtreecommitdiffstats
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-01-15 14:48:40 +1300
committerAndrew Bartlett <abartlet@samba.org>2014-02-12 13:17:13 +1300
commit86850860f871700da02000f5b7af374563134344 (patch)
treef667e5e2a3e45f60fa7c37501b4f2b436f9e8041 /lib/param/param_table.c
parentaea623e050530ad79c47e590373ad8241eb3914d (diff)
downloadsamba-86850860f871700da02000f5b7af374563134344.tar.gz
samba-86850860f871700da02000f5b7af374563134344.tar.xz
samba-86850860f871700da02000f5b7af374563134344.zip
lib/param: Normalise "read raw" and "write raw" parameters
They have been changed to function like normal parameters, removing a special case in the loadparm system. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r--lib/param/param_table.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index 09e041bbea..713db9016e 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -1402,7 +1402,7 @@ static struct parm_struct parm_table[] = {
.label = "read raw",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bReadRaw),
+ .offset = GLOBAL_VAR(read_raw),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,
@@ -1411,7 +1411,7 @@ static struct parm_struct parm_table[] = {
.label = "write raw",
.type = P_BOOL,
.p_class = P_GLOBAL,
- .offset = GLOBAL_VAR(bWriteRaw),
+ .offset = GLOBAL_VAR(write_raw),
.special = NULL,
.enum_list = NULL,
.flags = FLAG_ADVANCED,