Fix compiler warnings: Make const strings const in remove_connection_headers()
Michael
This commit is contained in:
parent
1bfe8b6bea
commit
c59d012d11
@ -979,7 +979,7 @@ get_all_headers (int fd, hashmap_t hashofheaders)
|
||||
static int
|
||||
remove_connection_headers (hashmap_t hashofheaders)
|
||||
{
|
||||
static char *headers[] = {
|
||||
static const char *headers[] = {
|
||||
"connection",
|
||||
"proxy-connection"
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user