summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-21 17:13:24 +0200
committerMichael Adam <obnox@samba.org>2011-07-21 17:24:17 +0200
commit8223eb7a27549a079dcf6d81009f8ec3f127b4c8 (patch)
tree2cb1353ee7738ca73358331abea2df87170b042f /source3/param
parent8ecf51a553533e8f95e57236903553b3e81b06fc (diff)
downloadsamba-8223eb7a27549a079dcf6d81009f8ec3f127b4c8.tar.gz
samba-8223eb7a27549a079dcf6d81009f8ec3f127b4c8.tar.bz2
samba-8223eb7a27549a079dcf6d81009f8ec3f127b4c8.zip
s3:loadparm: add support for P_BYTES to is_default() - fix build warning
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 27266964d5..7e870bd775 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -7731,6 +7731,7 @@ static bool is_default(int i)
case P_INTEGER:
case P_OCTAL:
case P_ENUM:
+ case P_BYTES:
return parm_table[i].def.ivalue ==
*(int *)lp_parm_ptr(NULL,
&parm_table[i]);