]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
From: erbe0011@FH-Karlsruhe.DE (Bernd Ernesti)
authorwessels <>
Sat, 1 Feb 1997 06:44:10 +0000 (06:44 +0000)
committerwessels <>
Sat, 1 Feb 1997 06:44:10 +0000 (06:44 +0000)
src/http.cc

index f4f4eb1282f3f1b0f399f8731626d9223402ffca..ec12027be0fe40ffc81cd5cc6c8b4842988a3cb7 100644 (file)
@@ -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;