r23552: Use proper comparison function an fix logic.
authorMichael Adam <obnox@samba.org>
Wed, 20 Jun 2007 08:47:13 +0000 (08:47 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:28 +0000 (12:23 -0500)
Michael
(This used to be commit a4714b34284f9e205556166166f41ce9dad4d3da)

source3/param/loadparm.c

index 09eeaeee5618ba470852c22e3e91a5b7d4ea8eb8..92d5f07e2a24b312c50a94caaf691ba092bc6fda 100644 (file)
@@ -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;