From: Fabian Keil <fk@fabiankeil.de>
Date: Sun, 5 Aug 2007 13:58:19 +0000 (+0000)
Subject: Comment out request_contains_null_bytes() until it's used again.
X-Git-Tag: v_3_0_7~182
X-Git-Url: http://www.privoxy.org/gitweb/%22https:/developer-manual/faq/static/@default-cgi@/diff?a=commitdiff_plain;h=74a1e3a8a7da3082faf2f7c4cfe22e0dc1a73f2f;p=privoxy.git

Comment out request_contains_null_bytes() until it's used again.
---

diff --git a/jcc.c b/jcc.c
index 53d325e2..c726713e 100644
--- a/jcc.c
+++ b/jcc.c
@@ -1,4 +1,4 @@
-const char jcc_rcs[] = "$Id: jcc.c,v 1.141 2007/08/04 09:56:23 fabiankeil Exp $";
+const char jcc_rcs[] = "$Id: jcc.c,v 1.142 2007/08/05 13:50:26 fabiankeil Exp $";
 /*********************************************************************
  *
  * File        :  $Source: /cvsroot/ijbswa/current/jcc.c,v $
@@ -33,6 +33,10 @@ const char jcc_rcs[] = "$Id: jcc.c,v 1.141 2007/08/04 09:56:23 fabiankeil Exp $"
  *
  * Revisions   :
  *    $Log: jcc.c,v $
+ *    Revision 1.142  2007/08/05 13:50:26  fabiankeil
+ *    #1763173 from Stefan Huehner: s@const static@static const@
+ *    and declare some more functions static.
+ *
  *    Revision 1.141  2007/08/04 09:56:23  fabiankeil
  *    - Log rejected CONNECT requests with LOG_LEVEL_INFO
  *      and explain why they were rejected in the first place.
@@ -1530,6 +1534,7 @@ static void send_crunch_response(struct client_state *csp, struct http_response
 }
 
 
+#if 0
 /*********************************************************************
  *
  * Function    :  request_contains_null_bytes
@@ -1537,6 +1542,8 @@ static void send_crunch_response(struct client_state *csp, struct http_response
  * Description :  Checks for NULL bytes in the request and sends
  *                an error message to the client if any were found.
  *
+ *                XXX: currently not used, see comment in chat().
+ *
  * Parameters  :
  *          1  :  csp = Current client state (buffers, headers, etc...)
  *          2  :  buf = Data from the client's request to check.
@@ -1586,6 +1593,7 @@ static int request_contains_null_bytes(const struct client_state *csp, char *buf
 
    return FALSE;
 }
+#endif
 
 
 /*********************************************************************