1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -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,
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",