diff options
Diffstat (limited to 'www/cgilib/patches/patch-ac')
-rw-r--r-- | www/cgilib/patches/patch-ac | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/www/cgilib/patches/patch-ac b/www/cgilib/patches/patch-ac new file mode 100644 index 00000000000..627a7777786 --- /dev/null +++ b/www/cgilib/patches/patch-ac @@ -0,0 +1,11 @@ +$NetBSD: patch-ac,v 1.1 2001/09/10 21:36:20 dmcmahill Exp $ + +--- cgi.c.orig Fri Aug 20 17:14:07 1999 ++++ cgi.c Mon Sep 10 16:06:58 2001 +@@ -381,5 +381,5 @@ + { + 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); |