summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2009-08-07 08:37:44 +0200
committerMichael Adam <obnox@samba.org>2009-08-07 08:37:44 +0200
commit3127baa4c640c4e87aadbf642febdb43a4822ca1 (patch)
tree5f63475fa5a150d1844c7bb1365b78da289cec8b /src
parentbb067eb13c5dac4f567d00fb0cd8830fd6674a93 (diff)
showstats(): add a const to a const string
Michael
Diffstat (limited to 'src')
-rw-r--r--src/stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/stats.c b/src/stats.c
index 9770a57..e45cf59 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -63,7 +63,7 @@ init_stats (void)
int
showstats (struct conn_s *connptr)
{
- static char *msg =
+ static const char *msg =
"<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n"
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" "
"\"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">\n"