diff options
Diffstat (limited to 'lib/krb5/acl.c')
| -rw-r--r-- | lib/krb5/acl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/krb5/acl.c b/lib/krb5/acl.c index 4365a7a0f5d8..d3196148287e 100644 --- a/lib/krb5/acl.c +++ b/lib/krb5/acl.c @@ -119,7 +119,7 @@ acl_match_field(krb5_context context, struct acl_field *field) { if(field->type == acl_string) { - return !strcmp(field->u.cstr, string); + return strcmp(field->u.cstr, string) == 0; } else if(field->type == acl_fnmatch) { return !fnmatch(field->u.cstr, string, 0); } else if(field->type == acl_retval) { |
