From 212abd64d7deb390991b9b22b308d7c161e5f814 Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Mon, 27 Jan 2003 17:39:02 +0000 Subject: (process_client_headers): Fixed inverted anonymous header logic. Fix comes from the FreeBSD port through James E. Flemer. --- src/reqs.c | 4 ++-- 1 file 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); -- cgit v1.2.3