summaryrefslogtreecommitdiffhomepage
path: root/src/acl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/acl.c')
-rw-r--r--src/acl.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/acl.c b/src/acl.c
index f5d06fb..1002332 100644
--- a/src/acl.c
+++ b/src/acl.c
@@ -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);