From: oes <oes@users.sourceforge.net>
Date: Tue, 2 Oct 2001 18:13:57 +0000 (+0000)
Subject: Ooops
X-Git-Tag: v_2_9_9~24
X-Git-Url: http://www.privoxy.org/gitweb/@default-cgi@/faq/%22https:/developer-manual/static/@default-cgi@show-url-info?a=commitdiff_plain;h=5db85a228ac9a66c397e367b6acef8f64c809549;p=privoxy.git

Ooops
---

diff --git a/jcc.c b/jcc.c
index 77b13797..dabd5021 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.42 2001/09/21 23:02:02 david__schmidt Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.43 2001/10/02 15:32:13 oes Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -33,6 +33,9 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.42 2001/09/21 23:02:02 david__schmidt Exp
  *
  * Revisions   :
  *    $Log: jcc.c,v $
+ *    Revision 1.43  2001/10/02 15:32:13  oes
+ *    Moved generation of hdr
+ *
  *    Revision 1.42  2001/09/21 23:02:02  david__schmidt
  *    Cleaning up 2 compiler warnings on OS/2.
  *
@@ -741,6 +744,7 @@ static void chat(struct client_state *csp)
    log_error(LOG_LEVEL_CONNECT, "OK");
 
    hdr = sed(client_patterns, add_client_headers, csp);
+   list_remove_all(csp->headers);
 
    if (fwd->forward_host || (http->ssl == 0))
    {