summaryrefslogtreecommitdiff
path: root/source3/param
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-06-20 08:47:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:28 -0500
commit9b11c3e08fabe8b93df4d17019eaf8cdd61566af (patch)
tree2a5f00494327ac41a91c8cdbae22e22ba8ffa3f8 /source3/param
parent4a77ae5af8d50761cca27299d76d8a7c5cab9e2b (diff)
downloadsamba-9b11c3e08fabe8b93df4d17019eaf8cdd61566af.tar.gz
samba-9b11c3e08fabe8b93df4d17019eaf8cdd61566af.tar.bz2
samba-9b11c3e08fabe8b93df4d17019eaf8cdd61566af.zip
r23552: Use proper comparison function an fix logic.
Michael (This used to be commit a4714b34284f9e205556166166f41ce9dad4d3da)
Diffstat (limited to 'source3/param')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 09eeaeee56..92d5f07e2a 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -3163,7 +3163,7 @@ static BOOL process_registry_globals(BOOL (*pfunc)(const char *, const char *))
&type,
&size,
&data_p);
- if (strcmp(valname,"include")) {
+ if (strwicmp(valname,"include") == 0) {
DEBUG(10, ("process_registry_globals: Ignoring "
"parameter 'include' in registry.\n"));
continue;