From caf20d786b237fc654e7c66fe5d23de489f14416 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 5 Aug 2009 00:09:41 +0200 Subject: utils: make headers constant in send_http_message() to reduce compiler warnings Michael --- src/utils.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/utils.c b/src/utils.c index 4f1df87..b657e65 100644 --- a/src/utils.c +++ b/src/utils.c @@ -37,7 +37,7 @@ int send_http_message (struct conn_s *connptr, int http_code, const char *error_title, const char *message) { - static char *headers[] = { + static const char *headers[] = { "Server: " PACKAGE "/" VERSION, "Content-type: text/html", "Connection: close" -- cgit v1.2.3