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 authored and Michael Adam committed 2010-01-14 07:46:31 +01:00
1 parent 8963c84dad
commit 184d07e47c
1 file changed
+1 -1
+1 -1
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 */