check_acl(): remove the fd argument - it is not used.

Host name and IP address are provided instead.

Michael
This commit is contained in:
Michael Adam committed 2009-08-04 23:47:27 +02:00
1 parent 64ff313260
commit 14a3e187ee
3 files changed
+3 -5

No files matched your search

+1 -1
View File
@@ -1623,7 +1623,7 @@ handle_connection (int fd)
return;
}
if (check_acl (fd, peer_ipaddr, peer_string) <= 0)
if (check_acl (peer_ipaddr, peer_string) <= 0)
{
update_stats (STAT_DENIED);
indicate_http_error (connptr, 403, "Access denied",