1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

check_http_server_bugs: Make buggy_servers[] const.

This commit is contained in:
Kalle Olavi Niemitalo 2007-02-04 15:21:57 +02:00 committed by Kalle Olavi Niemitalo
parent c8a57c562f
commit c62e9f9eae

View File

@ -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",