summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/html-error.c2
1 files changed, 1 insertions, 1 deletions
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";