Comment out request_contains_null_bytes() until it's used again.
authorFabian Keil <fk@fabiankeil.de>
Sun, 5 Aug 2007 13:58:19 +0000 (13:58 +0000)
committerFabian Keil <fk@fabiankeil.de>
Sun, 5 Aug 2007 13:58:19 +0000 (13:58 +0000)
jcc.c

diff --git a/jcc.c b/jcc.c
index 53d325e..c726713 100644 (file)
--- 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
 
 
 /*********************************************************************