summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-21 17:18:40 +0200
committerMichael Adam <obnox@samba.org>2011-07-21 17:24:18 +0200
commit5158fd1688cdf42fdf1f08b31e7231f06825b8ba (patch)
tree38f8da01b8fa4265b890b1dbd9a5e789425185b1 /source3/param
parent3c8e94b6c432daa36245c3937bfbf0c9ced47ee5 (diff)
downloadsamba-5158fd1688cdf42fdf1f08b31e7231f06825b8ba.tar.gz
samba-5158fd1688cdf42fdf1f08b31e7231f06825b8ba.tar.bz2
samba-5158fd1688cdf42fdf1f08b31e7231f06825b8ba.zip
s3:loadparm: add support for P_CMDLIST to lp_do_parameter - fix a 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 d1cc79f195..aee8349dbd 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -7392,6 +7392,7 @@ bool lp_do_parameter(int snum, const char *pszParmName, const char *pszParmValue
break;
case P_LIST:
+ case P_CMDLIST:
TALLOC_FREE(*((char ***)parm_ptr));
*(char ***)parm_ptr = str_list_make_v3(
NULL, pszParmValue, NULL);