make a const string const in send_http_error_message().
Michael
This commit is contained in:
		
							parent
							
								
									1c3c268b50
								
							
						
					
					
						commit
						76dadf47d3
					
				@ -192,7 +192,7 @@ send_http_error_message (struct conn_s *connptr)
 | 
				
			|||||||
  char *error_file;
 | 
					  char *error_file;
 | 
				
			||||||
  FILE *infile;
 | 
					  FILE *infile;
 | 
				
			||||||
  int ret;
 | 
					  int ret;
 | 
				
			||||||
  char *fallback_error =
 | 
					  const char *fallback_error =
 | 
				
			||||||
    "<?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