mirror of
https://github.com/samba-team/samba.git
synced 2025-01-13 13:18:06 +03:00
s3:loadparm: add support for P_CMDLIST to lp_do_parameter - fix a build warning
This commit is contained in:
parent
3c8e94b6c4
commit
5158fd1688
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user