summaryrefslogtreecommitdiff
path: root/source3/web/swat.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-18 15:56:07 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-18 15:56:07 +0200
commit89c95454300f28b0241a44fc2aa7886304c90824 (patch)
tree60b329935794e8d16d1244f1fe98efe242c4991a /source3/web/swat.c
parent23c95c9119848aba47a5d533a75c92a9d7a0bc95 (diff)
downloadsamba-89c95454300f28b0241a44fc2aa7886304c90824.tar.gz
samba-89c95454300f28b0241a44fc2aa7886304c90824.tar.bz2
samba-89c95454300f28b0241a44fc2aa7886304c90824.zip
Use str_list_equal() rather than str_list_compare().
Diffstat (limited to 'source3/web/swat.c')
-rw-r--r--source3/web/swat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c
index 23fc43f776..27c4b54e2f 100644
--- a/source3/web/swat.c
+++ b/source3/web/swat.c
@@ -384,7 +384,8 @@ static void show_parameters(int snum, int allparameters, unsigned int parm_filte
break;
case P_LIST:
- if (!str_list_compare(*(char ***)ptr, (char **)(parm->def.lvalue))) continue;
+ if (!str_list_equal(*(const char ***)ptr,
+ (const char **)(parm->def.lvalue))) continue;
break;
case P_STRING: