1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s3:loadparm: add support for P_CMDLIST to lp_save_defaults() - fix build warning

This commit is contained in:
Michael Adam 2011-07-21 17:15:31 +02:00
parent ebdec404a4
commit 3c8e94b6c4

View File

@ -8128,6 +8128,7 @@ static void lp_save_defaults(void)
continue;
switch (parm_table[i].type) {
case P_LIST:
case P_CMDLIST:
parm_table[i].def.lvalue = str_list_copy(
NULL, *(const char ***)lp_parm_ptr(NULL, &parm_table[i]));
break;