make a const string const in send_http_headers().

Michael
This commit is contained in:
Michael Adam 2009-08-07 08:49:21 +02:00
parent c8ee85702e
commit 1c3c268b50

View File

@ -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";