Skip to content
This repository
Browse code

Updates the DOCTYPE of hardcoded messages.

  • Loading branch information...
commit 5185a4aade0fa2d38a96d669f7308818f12032ed 1 parent 22b7016
Alvaro Lopez Ortega authored January 02, 2012

Showing 1 changed file with 6 additions and 7 deletions. Show diff stats Hide diff stats

  1. 13  cherokee/thread.c
13  cherokee/thread.c
@@ -446,13 +446,12 @@ send_hardcoded_error (cherokee_socket_t *sock,
446 446
 	cherokee_boolean_t done  = false;
447 447
 
448 448
 	cherokee_buffer_clean (tmp);
449  
-	cherokee_buffer_add_va (
450  
-		tmp,
451  
-		"HTTP/1.0 %s" CRLF_CRLF					\
452  
-		"<!DOCTYPE HTML PUBLIC \"-//IETF//DTD HTML 2.0//EN\">" CRLF \
453  
-		"<html><head><title>%s</title></head>" CRLF		\
454  
-		"<body><h1>%s</h1></body></html>",
455  
-		error, error, error);
  449
+	cherokee_buffer_add_va (tmp,
  450
+				"HTTP/1.0 %s" CRLF_CRLF			\
  451
+				"<!DOCTYPE html>" CRLF			\
  452
+				"<html><head><title>%s</title></head>" CRLF \
  453
+				"<body><h1>%s</h1></body></html>",
  454
+				error, error, error);
456 455
 
457 456
 	do {
458 457
 		write = 0;

0 notes on commit 5185a4a

Please sign in to comment.
Something went wrong with that request. Please try again.