diff options
author | Michael Adam <obnox@samba.org> | 2011-07-21 17:04:16 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2011-07-21 17:24:17 +0200 |
commit | 72f23c7ba30e18468e199aa943dc0a4bdf790136 (patch) | |
tree | 3ef53a06093094de11e9e3ff88766f4c98771ec7 /source3/param | |
parent | 641beeb2a35c889f388c0125be44b63a10845ffc (diff) | |
download | samba-72f23c7ba30e18468e199aa943dc0a4bdf790136.tar.gz samba-72f23c7ba30e18468e199aa943dc0a4bdf790136.tar.bz2 samba-72f23c7ba30e18468e199aa943dc0a4bdf790136.zip |
s3:loadparm: add support for P_CMDLIST to equal_parameter() - fix build warning
Diffstat (limited to 'source3/param')
-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 d3cf0a7bb0..8b9d7d9682 100644 --- a/source3/param/loadparm.c +++ b/source3/param/loadparm.c @@ -7607,6 +7607,7 @@ static bool equal_parameter(parm_type type, void *ptr1, void *ptr2) return (*((char *)ptr1) == *((char *)ptr2)); case P_LIST: + case P_CMDLIST: return str_list_equal(*(const char ***)ptr1, *(const char ***)ptr2); case P_STRING: |