diff options
author | Michael Adam <obnox@samba.org> | 2009-08-07 08:51:35 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-07 08:51:35 +0200 |
commit | 76dadf47d3ddf406162b7956f0dc64ba26e2b993 (patch) | |
tree | be0bd7564ac0a0f7f730e8ac3d43b77942951648 /src | |
parent | 1c3c268b50bf890e4441579df2db8100c05851d9 (diff) |
make a const string const in send_http_error_message().
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/html-error.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/html-error.c b/src/html-error.c index 692ff8d..2b32a84 100644 --- a/src/html-error.c +++ b/src/html-error.c @@ -192,7 +192,7 @@ send_http_error_message (struct conn_s *connptr) char *error_file; FILE *infile; int ret; - char *fallback_error = + const char *fallback_error = "<?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" |