summaryrefslogtreecommitdiffhomepage
path: root/src/reqs.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2000-11-23 04:46:25 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2000-11-23 04:46:25 +0000
commitb023ff577fb47aa5fccbf7815df2541be0c1aeb3 (patch)
tree1fb1c2f99ab22d1324d544071c72e02edaa2bea7 /src/reqs.c
parent1a2b20af5baca8e6c4272fdee5dfd2bc1731c869 (diff)
Changed the filter_host command to filter_url.
Diffstat (limited to 'src/reqs.c')
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 90463f0..01c8ab8 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1,4 +1,4 @@
-/* $Id: reqs.c,v 1.9 2000-09-26 04:57:46 rjkaes Exp $
+/* $Id: reqs.c,v 1.10 2000-11-23 04:46:25 rjkaes Exp $
*
* This is where all the work in tinyproxy is actually done. Incoming
* connections have a new thread created for them. The thread then
@@ -214,7 +214,7 @@ static int process_method(struct conn_s *connptr)
#ifdef FILTER_ENABLE
/* Filter domains out */
if (config.filter) {
- if (filter_host(uri->authority)) {
+ if (filter_url(uri->authority)) {
log(LOG_ERR, "clientreq: Filtered connection (%s)",
peer_ipaddr);
httperr(connptr, 404,