check_numeric_acl() should return -1 when IPs don't match.

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
David Shanks 2010-01-11 19:40:45 -08:00 committed by Michael Adam
parent 8963c84dad
commit 184d07e47c

View File

@ -292,7 +292,7 @@ static int check_numeric_acl (const struct acl_s *acl, const char *ip)
/* If x and y don't match, the IP addresses don't match */
if (x != y)
return 0;
return -1;
}
/* The addresses match, return the permission */