make message argument to send_http_headers() constant.
Michael
This commit is contained in:
parent
251a975126
commit
20b606b6f5
@ -172,7 +172,7 @@ send_html_file (FILE * infile, struct conn_s *connptr)
|
||||
}
|
||||
|
||||
int
|
||||
send_http_headers (struct conn_s *connptr, int code, char *message)
|
||||
send_http_headers (struct conn_s *connptr, int code, const char *message)
|
||||
{
|
||||
char *headers =
|
||||
"HTTP/1.0 %d %s\r\n"
|
||||
|
@ -32,7 +32,7 @@ extern int add_error_variable (struct conn_s *connptr, const char *key,
|
||||
const char *val);
|
||||
extern int send_html_file (FILE * infile, struct conn_s *connptr);
|
||||
extern int send_http_headers (struct conn_s *connptr, int code,
|
||||
char *message);
|
||||
const char *message);
|
||||
extern int add_standard_vars (struct conn_s *connptr);
|
||||
|
||||
#endif /* !TINYPROXY_HTML_ERROR_H */
|
||||
|
Loading…
Reference in New Issue
Block a user