summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-05 00:09:41 +0200
committerMichael Adam <obnox@samba.org>2009-08-05 00:09:41 +0200
commitcaf20d786b237fc654e7c66fe5d23de489f14416 (patch)
treec1bee5a862da5f96e6cb68c28aefef30c408fcc4
parent1cdd76af31031c25abcb90cf323cbd96324174cc (diff)
utils: make headers constant in send_http_message() to reduce compiler warnings
Michael
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
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"