summaryrefslogtreecommitdiff
path: root/www/cgilib/patches/patch-ac
blob: 627a777778645fef7966f5237e5d3032821d6556 (plain)
1
2
3
4
5
6
7
8
9
10
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);