utils: make headers constant in send_http_message() to reduce compiler warnings

Michael
This commit is contained in:
Michael Adam 2009-08-05 00:09:41 +02:00
parent 1cdd76af31
commit caf20d786b

View File

@ -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"