aboutsummaryrefslogtreecommitdiffstats
path: root/community/thttpd/discreet.patch
blob: b427ecc2cb7b60575ebc31ab26d3ea8dd88fa273 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
diff -Naur old/libhttpd.c new/libhttpd.c
--- old/libhttpd.c	2012-04-27 14:24:50.971711600 +0200
+++ new/libhttpd.c	2012-04-27 14:33:24.559135581 +0200
@@ -744,7 +744,7 @@
     (void) my_snprintf( buf, sizeof(buf), "\
 <HTML>\n\
 <HEAD><TITLE>%d %s</TITLE></HEAD>\n\
-<BODY BGCOLOR=\"#cc9999\" TEXT=\"#000000\" LINK=\"#2020ff\" VLINK=\"#4040cc\">\n\
+<BODY>\n\
 <H2>%d %s</H2>\n",
 	status, title, status, title );
     add_response( hc, buf );
@@ -769,11 +769,8 @@
     char buf[1000];
 
     (void) my_snprintf( buf, sizeof(buf), "\
-<HR>\n\
-<ADDRESS><A HREF=\"%s\">%s</A></ADDRESS>\n\
 </BODY>\n\
-</HTML>\n",
-	SERVER_ADDRESS, EXPOSED_SERVER_SOFTWARE );
+</HTML>\n" );
     add_response( hc, buf );
     }
 
@@ -2766,7 +2763,7 @@
 	    (void) fprintf( fp, "\
 <HTML>\n\
 <HEAD><TITLE>Index of %.80s</TITLE></HEAD>\n\
-<BODY BGCOLOR=\"#99cc99\" TEXT=\"#000000\" LINK=\"#2020ff\" VLINK=\"#4040cc\">\n\
+<BODY>\n\
 <H2>Index of %.80s</H2>\n\
 <PRE>\n\
 mode  links  bytes  last-changed  name\n\