From 74a1e3a8a7da3082faf2f7c4cfe22e0dc1a73f2f Mon Sep 17 00:00:00 2001 From: Fabian Keil Date: Sun, 5 Aug 2007 13:58:19 +0000 Subject: [PATCH] Comment out request_contains_null_bytes() until it's used again. --- jcc.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) 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 /********************************************************************* -- 2.39.2