From 1c3c268b50bf890e4441579df2db8100c05851d9 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Fri, 7 Aug 2009 08:49:21 +0200 Subject: make a const string const in send_http_headers(). Michael --- src/html-error.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/html-error.c b/src/html-error.c index f4a6150..692ff8d 100644 --- a/src/html-error.c +++ b/src/html-error.c @@ -174,7 +174,7 @@ send_html_file (FILE * infile, struct conn_s *connptr) int send_http_headers (struct conn_s *connptr, int code, const char *message) { - char *headers = + const char *headers = "HTTP/1.0 %d %s\r\n" "Server: %s/%s\r\n" "Content-Type: text/html\r\n" "Connection: close\r\n" "\r\n"; -- cgit v1.2.3