From f90c15a50a5cefedf36bd7c043d5069b3652c092 Mon Sep 17 00:00:00 2001 From: Francesco Colista Date: Mon, 22 Aug 2016 08:41:09 +0000 Subject: community/thttpd: moved from testing --- community/thttpd/discreet.patch | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 community/thttpd/discreet.patch (limited to 'community/thttpd/discreet.patch') diff --git a/community/thttpd/discreet.patch b/community/thttpd/discreet.patch new file mode 100644 index 0000000000..b427ecc2cb --- /dev/null +++ b/community/thttpd/discreet.patch @@ -0,0 +1,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), "\ + \n\ + %d %s\n\ +-\n\ ++\n\ +

%d %s

\n", + status, title, status, title ); + add_response( hc, buf ); +@@ -769,11 +769,8 @@ + char buf[1000]; + + (void) my_snprintf( buf, sizeof(buf), "\ +-
\n\ +-
%s
\n\ + \n\ +-\n", +- SERVER_ADDRESS, EXPOSED_SERVER_SOFTWARE ); ++\n" ); + add_response( hc, buf ); + } + +@@ -2766,7 +2763,7 @@ + (void) fprintf( fp, "\ + \n\ + Index of %.80s\n\ +-\n\ ++\n\ +

Index of %.80s

\n\ +
\n\
+ mode  links  bytes  last-changed  name\n\
-- 
cgit v1.2.3