Fix compiler warnings: Make const strings const in remove_connection_headers()

Michael
This commit is contained in:
Michael Adam 2009-08-12 23:47:45 +02:00
parent 1bfe8b6bea
commit c59d012d11

View File

@ -979,7 +979,7 @@ get_all_headers (int fd, hashmap_t hashofheaders)
static int static int
remove_connection_headers (hashmap_t hashofheaders) remove_connection_headers (hashmap_t hashofheaders)
{ {
static char *headers[] = { static const char *headers[] = {
"connection", "connection",
"proxy-connection" "proxy-connection"
}; };