From 34a8e1c51ebc2a26e9721d6f8a25d6de1057c903 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 25 Oct 2007 17:17:46 -0700 Subject: Fix reversed bool check for access. Found by kukks. Thanks ! Jeremy. (This used to be commit a13e8bd39de978d69666b8aeb884d943885a3605) --- source3/lib/access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/lib/access.c') diff --git a/source3/lib/access.c b/source3/lib/access.c index 0d477116ed..7b78017a64 100644 --- a/source3/lib/access.c +++ b/source3/lib/access.c @@ -52,7 +52,7 @@ static bool masked_match(const char *tok, const char *slash, const char *s) SAFE_FREE(tok_copy); if (strlen(slash + 1) > 2) { - if (interpret_string_addr(&ss_mask, slash+1, 0)) { + if (!interpret_string_addr(&ss_mask, slash+1, 0)) { return false; } } else { -- cgit