diff options
author | Jeremy Allison <jra@samba.org> | 2007-10-25 17:17:46 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-10-25 17:17:46 -0700 |
commit | 34a8e1c51ebc2a26e9721d6f8a25d6de1057c903 (patch) | |
tree | 08757b70f1e57ea7f7598ec2293b2d1a45fd23d5 | |
parent | e6fcfdb54eb75d69370d1af276e478b15a15d855 (diff) | |
download | samba-34a8e1c51ebc2a26e9721d6f8a25d6de1057c903.tar.gz samba-34a8e1c51ebc2a26e9721d6f8a25d6de1057c903.tar.bz2 samba-34a8e1c51ebc2a26e9721d6f8a25d6de1057c903.zip |
Fix reversed bool check for access. Found by kukks.
Thanks !
Jeremy.
(This used to be commit a13e8bd39de978d69666b8aeb884d943885a3605)
-rw-r--r-- | source3/lib/access.c | 2 |
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 { |