diff options
author | Gaetan Bisson | 2015-08-15 05:30:42 +0900 |
---|---|---|
committer | Gaetan Bisson | 2015-08-15 05:30:42 +0900 |
commit | 7e508d009ade433fc39a77d3e44fd5039540fce9 (patch) | |
tree | ff302d034238b36f568db761bc639fcdc1d5d7eb /discreet.patch | |
download | aur-thttpd.tar.gz |
initial commit, deprecated by sthttpd in community
Diffstat (limited to 'discreet.patch')
-rw-r--r-- | discreet.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/discreet.patch b/discreet.patch new file mode 100644 index 000000000000..14c84e0f00cb --- /dev/null +++ b/discreet.patch @@ -0,0 +1,37 @@ +diff -Naur old/libhttpd.c new/libhttpd.c +--- old/libhttpd.c 2014-08-15 11:32:31.040595413 +0900 ++++ new/libhttpd.c 2014-08-15 11:34:57.690595931 +0900 +@@ -754,7 +754,7 @@ + <title>%d %s</title>\n\ + </head>\n\ + \n\ +- <body bgcolor=\"#cc9999\" text=\"#000000\" link=\"#2020ff\" vlink=\"#4040cc\">\n\ ++ <body>\n\ + \n\ + <h2>%d %s</h2>\n", + status, title, status, title ); +@@ -780,14 +780,9 @@ + char buf[1000]; + + (void) my_snprintf( buf, sizeof(buf), "\ +- <hr>\n\ +-\n\ +- <address><a href=\"%s\">%s</a></address>\n\ +-\n\ + </body>\n\ + \n\ +-</html>\n", +- SERVER_ADDRESS, EXPOSED_SERVER_SOFTWARE ); ++</html>\n" ); + add_response( hc, buf ); + } + +@@ -2798,7 +2793,7 @@ + <title>Index of %.80s</title>\n\ + </head>\n\ + \n\ +- <body bgcolor=\"#99cc99\" text=\"#000000\" link=\"#2020ff\" vlink=\"#4040cc\">\n\ ++ <body>\n\ + \n\ + <h2>Index of %.80s</h2>\n\ + \n\ |