Files
pkgsrc-ng/www/cgic/patches/patch-ab
2013-09-26 17:14:40 +02:00

14 lines
339 B
Plaintext

$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");