diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 08:49:21 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 08:49:21 +0200 |
commit | 1c3c268b50bf890e4441579df2db8100c05851d9 (patch) | |
tree | e33dd978a00ebae228024118d92c1cb1a2351e06 /src/html-error.c | |
parent | c8ee85702e2f038cc55dfc7e55cbf1be00d592a5 (diff) |
make a const string const in send_http_headers().
Michael
Diffstat (limited to 'src/html-error.c')
-rw-r--r-- | src/html-error.c | 2 |
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"; |