From: wessels <> Date: Sat, 1 Feb 1997 06:44:10 +0000 (+0000) Subject: From: erbe0011@FH-Karlsruhe.DE (Bernd Ernesti) X-Git-Tag: SQUID_3_0_PRE1~5154 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=029598a9ae2c61878557f3a51d77880cd73b203e;p=thirdparty%2Fsquid.git From: erbe0011@FH-Karlsruhe.DE (Bernd Ernesti) --- diff --git a/src/http.cc b/src/http.cc index f4f4eb1282..ec12027be0 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,5 +1,5 @@ /* - * $Id: http.cc,v 1.146 1997/01/31 22:30:31 wessels Exp $ + * $Id: http.cc,v 1.147 1997/01/31 23:44:10 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -693,7 +693,11 @@ httpAppendRequestHeader(char *hdr, const char *line, size_t * sz, size_t max) if (n >= max) return; #ifdef USE_ANONYMIZER - if (!httpAnonSearchHeaderField(http_anon_allowed_header, line)) { +#ifdef USE_PARANOID_ANONYMIZER + if (httpAnonSearchHeaderField(http_anon_allowed_header, line) == NULL) { +#else + if (httpAnonSearchHeaderField(http_anon_denied_header, line) == NULL) { +#endif debug(11, 5, "httpAppendRequestHeader: removed for anonymity: <%s>\n", line); return;