diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-01-27 17:39:02 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2003-01-27 17:39:02 +0000 |
commit | 212abd64d7deb390991b9b22b308d7c161e5f814 (patch) | |
tree | 0025f5edb1e5684a7a81623532b4b8216199ac9b /src | |
parent | 90ca9c36ff31645885207ea16d65d793789fb66a (diff) | |
download | tinyproxy-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 'src')
-rw-r--r-- | src/reqs.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |