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-4.0.0alpha6~801^2~5585 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9b11c3e08fabe8b93df4d17019eaf8cdd61566af;p=thirdparty%2Fsamba.git r23552: Use proper comparison function an fix logic. Michael (This used to be commit a4714b34284f9e205556166166f41ce9dad4d3da) --- diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c index 09eeaeee561..92d5f07e2a2 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;