utils: make headers constant in send_http_message() to reduce compiler warnings
Michael
This commit is contained in:
parent
1cdd76af31
commit
caf20d786b
@ -37,7 +37,7 @@ int
|
|||||||
send_http_message (struct conn_s *connptr, int http_code,
|
send_http_message (struct conn_s *connptr, int http_code,
|
||||||
const char *error_title, const char *message)
|
const char *error_title, const char *message)
|
||||||
{
|
{
|
||||||
static char *headers[] = {
|
static const char *headers[] = {
|
||||||
"Server: " PACKAGE "/" VERSION,
|
"Server: " PACKAGE "/" VERSION,
|
||||||
"Content-type: text/html",
|
"Content-type: text/html",
|
||||||
"Connection: close"
|
"Connection: close"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user