summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/access.c2
1 files changed, 1 insertions, 1 deletions
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 {