From: Michael Adam Date: Wed, 20 Jun 2007 08:47:13 +0000 (+0000) Subject: r23552: Use proper comparison function an fix logic. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~160 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a4714b34284f9e205556166166f41ce9dad4d3da;p=thirdparty%2Fsamba.git r23552: Use proper comparison function an fix logic. Michael --- diff --git a/source/param/loadparm.c b/source/param/loadparm.c index 09eeaeee561..92d5f07e2a2 100644 --- a/source/param/loadparm.c +++ b/source/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;