diff options
author | Michael Adam <obnox@samba.org> | 2011-07-21 17:13:44 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-21 17:24:17 +0200 |
commit | ae0f66756a189207f5db4e8c28354b7735a47aa3 (patch) | |
tree | 1e4e0f0206981c14bb097837c5a55f549f7befdf /source3 | |
parent | 8223eb7a27549a079dcf6d81009f8ec3f127b4c8 (diff) | |
download | samba-ae0f66756a189207f5db4e8c28354b7735a47aa3.tar.gz samba-ae0f66756a189207f5db4e8c28354b7735a47aa3.tar.bz2 samba-ae0f66756a189207f5db4e8c28354b7735a47aa3.zip |
s3:loadparm: add support for P_CMDLIST to is_default() - fix build warning
Diffstat (limited to 'source3')
-rw-r--r-- | source3/param/loadparm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 7e870bd775..6cff6d2c4c 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -7711,6 +7711,7 @@ static bool is_default(int i) return false; switch (parm_table[i].type) { case P_LIST: + case P_CMDLIST: return str_list_equal((const char **)parm_table[i].def.lvalue, *(const char ***)lp_parm_ptr(NULL, &parm_table[i])); |