1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-10-01 03:36:26 -04: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, check_http_server_bugs(struct uri *uri, struct http_connection_info *http,
unsigned char *head) unsigned char *head)
{ {
unsigned char *server, **s; unsigned char *server;
static unsigned char *buggy_servers[] = { const unsigned char *const *s;
static const unsigned char *const buggy_servers[] = {
"mod_czech/3.1.0", "mod_czech/3.1.0",
"Purveyor", "Purveyor",
"Netscape-Enterprise", "Netscape-Enterprise",