From c62e9f9eaef592fea118ac39d3479cbe717dccfa Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 4 Feb 2007 15:21:57 +0200 Subject: [PATCH] check_http_server_bugs: Make buggy_servers[] const. --- src/protocol/http/http.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/protocol/http/http.c b/src/protocol/http/http.c index 00c7bfbe..31370255 100644 --- a/src/protocol/http/http.c +++ b/src/protocol/http/http.c @@ -440,8 +440,9 @@ static int check_http_server_bugs(struct uri *uri, struct http_connection_info *http, unsigned char *head) { - unsigned char *server, **s; - static unsigned char *buggy_servers[] = { + unsigned char *server; + const unsigned char *const *s; + static const unsigned char *const buggy_servers[] = { "mod_czech/3.1.0", "Purveyor", "Netscape-Enterprise",