summaryrefslogtreecommitdiff
path: root/www/cgilib/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'www/cgilib/patches/patch-ac')
-rw-r--r--www/cgilib/patches/patch-ac21
1 files changed, 0 insertions, 21 deletions
diff --git a/www/cgilib/patches/patch-ac b/www/cgilib/patches/patch-ac
deleted file mode 100644
index 7fd7937e830..00000000000
--- a/www/cgilib/patches/patch-ac
+++ /dev/null
@@ -1,21 +0,0 @@
-$NetBSD: patch-ac,v 1.2 2004/05/23 23:28:30 danw Exp $
-
---- cgi.c.orig Fri Aug 20 17:14:07 1999
-+++ cgi.c
-@@ -31,7 +31,6 @@
- #include <unistd.h>
- #include <string.h>
- #include <ctype.h>
--#include <malloc.h>
- #include <cgi.h>
-
- int cgiDebugLevel = 0;
-@@ -380,7 +379,7 @@ char **cgiGetVariables (s_cgi *parms)
- void cgiRedirect (const char *url)
- {
- if (url && strlen(url)) {
-- printf ("Content-type: text/html\nContent-length: %d\n", 77+(strlen(url)*2));
-+ printf ("Content-type: text/html\nContent-length: %ld\n",(long)( 77+(strlen(url)*2)));
- printf ("Status: 302 Temporal Relocation\n");
- printf ("Location: %s\n\n", url);
- printf ("<html>\n<body>\nThe page has been moved to <a href=\"%s\">%s</a>\n</body>\n</html>\n", url, url);