diff options
Diffstat (limited to 'community/thttpd')
-rw-r--r-- | community/thttpd/discreet.patch | 34 | ||||
-rw-r--r-- | community/thttpd/getline.patch | 21 |
2 files changed, 0 insertions, 55 deletions
diff --git a/community/thttpd/discreet.patch b/community/thttpd/discreet.patch deleted file mode 100644 index b427ecc2cb..0000000000 --- a/community/thttpd/discreet.patch +++ /dev/null @@ -1,34 +0,0 @@ -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\ diff --git a/community/thttpd/getline.patch b/community/thttpd/getline.patch deleted file mode 100644 index 1ec3946b10..0000000000 --- a/community/thttpd/getline.patch +++ /dev/null @@ -1,21 +0,0 @@ -diff -Nur thttpd-2.25b.orig/extras/htpasswd.c thttpd-2.25b/extras/htpasswd.c ---- thttpd-2.25b.orig/extras/htpasswd.c 2001-12-19 02:08:08.000000000 +0200 -+++ thttpd-2.25b/extras/htpasswd.c 2010-04-11 14:43:31.037809054 +0300 -@@ -49,7 +49,7 @@ - while((line[y++] = line[x++])); - } - --static int getline(char *s, int n, FILE *f) { -+static int get_line(char *s, int n, FILE *f) { - register int i=0; - - while(1) { -@@ -189,7 +189,7 @@ - strcpy(user,argv[2]); - - found = 0; -- while(!(getline(line,MAX_STRING_LEN,f))) { -+ while(!(get_line(line,MAX_STRING_LEN,f))) { - if(found || (line[0] == '#') || (!line[0])) { - putline(tfp,line); - continue; |