blob: d4e7415ebb7b96f8987d2b2924f58022dca4b31a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
$NetBSD: patch-af,v 1.2 2006/01/06 22:46:51 adam Exp $
--- cgictest.c.orig 2004-04-22 22:49:47.000000000 +0200
+++ cgictest.c
@@ -42,7 +42,13 @@ void Cookies();
void LoadEnvironment();
void SaveEnvironment();
-int cgiMain() {
+int main() {
+
+ /*
+ * Initialize the library environment.
+ */
+ cgiInit();
+
#ifdef DEBUG
LoadEnvironment();
#endif /* DEBUG */
|