summaryrefslogtreecommitdiff
path: root/src/reqs.c
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2003-01-27 17:39:02 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2003-01-27 17:39:02 +0000
commit212abd64d7deb390991b9b22b308d7c161e5f814 (patch)
tree0025f5edb1e5684a7a81623532b4b8216199ac9b /src/reqs.c
parent90ca9c36ff31645885207ea16d65d793789fb66a (diff)
downloadtinyproxy-212abd64d7deb390991b9b22b308d7c161e5f814.tar.gz
tinyproxy-212abd64d7deb390991b9b22b308d7c161e5f814.zip
(process_client_headers): Fixed inverted anonymous header logic. Fix
comes from the FreeBSD port through James E. Flemer.
Diffstat (limited to '')
-rw-r--r--src/reqs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 1f3a9f1..d9ceb52 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -1,4 +1,4 @@
-/* $Id: reqs.c,v 1.89 2002-12-04 17:36:48 rjkaes Exp $
+/* $Id: reqs.c,v 1.90 2003-01-27 17:39:02 rjkaes Exp $
*
* This is where all the work in tinyproxy is actually done. Incoming
* connections have a new child created for them. The child then
@@ -875,7 +875,7 @@ process_client_headers(struct conn_s *connptr, hashmap_t hashofheaders)
&data,
(void**)&header);
- if (!is_anonymous_enabled() || anonymous_search(data) <= 0) {
+ if (!is_anonymous_enabled() || anonymous_search(data) > 0) {
ret = write_message(connptr->server_fd,
"%s: %s\r\n",
data, header);