Fix compiler warnings: Make const strings const in remove_connection_headers()
Michael
This commit is contained in:
1 parent
1bfe8b6bea
commit
c59d012d11
1 file changed
+1
-1
+1
-1
@@ -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"
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user