summaryrefslogtreecommitdiff
path: root/www/cgic/patches/patch-ab
blob: 8b782376587c36b8c8b9b960fb218c2f7b336cf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.1.1.1 2004/07/20 21:44:29 jmmv Exp $

--- capture.c.orig	Sun Jan 12 13:59:43 2003
+++ capture.c
@@ -1,6 +1,7 @@
 #include "cgic.h"
 
-int cgiMain() {
+int main() {
+	cgiInit();
 	cgiWriteEnvironment("/CHANGE/THIS/PATH/capcgi.dat");
 	cgiHeaderContentType("text/html");
 	fprintf(cgiOut, "<title>Captured</title>\n");