make a const string const in send_http_headers().
Michael
This commit is contained in:
parent
c8ee85702e
commit
1c3c268b50
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user