diff options
author | Michael Adam <obnox@samba.org> | 2009-08-04 14:40:25 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-04 23:47:27 +0200 |
commit | 14a3e187ee6b2a708186917550e5fd73652e996d (patch) | |
tree | ffac21dad0ee8133701529d6d42a2105e96f9687 /src/acl.c | |
parent | 64ff313260a7a4b2d6f78f27690d8f4fee119923 (diff) |
check_acl(): remove the fd argument - it is not used.
Host name and IP address are provided instead.
Michael
Diffstat (limited to 'src/acl.c')
-rw-r--r-- | src/acl.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -331,13 +331,12 @@ check_numeric_acl (const struct acl_s *acl, const char *ip) * 0 if denied */ int -check_acl (int fd, const char *ip, const char *host) +check_acl (const char *ip, const char *host) { struct acl_s *acl; int perm; size_t i; - assert (fd >= 0); assert (ip != NULL); assert (host != NULL); |