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:
parent
c8a57c562f
commit
c62e9f9eae
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user