showstats(): add a const to a const string
Michael
This commit is contained in:
parent
bb067eb13c
commit
3127baa4c6
@ -63,7 +63,7 @@ init_stats (void)
|
|||||||
int
|
int
|
||||||
showstats (struct conn_s *connptr)
|
showstats (struct conn_s *connptr)
|
||||||
{
|
{
|
||||||
static char *msg =
|
static const char *msg =
|
||||||
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
|
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
|
||||||
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" "
|
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" "
|
||||||
"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n"
|
"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user