summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-21 17:14:56 +0200
committerMichael Adam <obnox@samba.org>2011-07-21 17:24:18 +0200
commitebdec404a4ad27c98334d4e2b1fd24a19dda45ed (patch)
tree3a68730d3f3e6517fa807a174bbc1c567a3277bf /source3/param
parentae0f66756a189207f5db4e8c28354b7735a47aa3 (diff)
downloadsamba-ebdec404a4ad27c98334d4e2b1fd24a19dda45ed.tar.gz
samba-ebdec404a4ad27c98334d4e2b1fd24a19dda45ed.tar.bz2
samba-ebdec404a4ad27c98334d4e2b1fd24a19dda45ed.zip
s3:loadparm: add support for P_BYTES to lp_save_defaults - 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 6cff6d2c4c..d921cba1dc 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -8147,6 +8147,7 @@ static void lp_save_defaults(void)
case P_INTEGER:
case P_OCTAL:
case P_ENUM:
+ case P_BYTES:
parm_table[i].def.ivalue =
*(int *)lp_parm_ptr(NULL, &parm_table[i]);
break;