about summary refs log tree commit diff stats
path: root/src/LYCgi.c
diff options
context:
space:
mode:
authorThomas E. Dickey <dickey@invisible-island.net>2010-06-18 00:48:31 -0400
committerThomas E. Dickey <dickey@invisible-island.net>2010-06-18 00:48:31 -0400
commit511bc0c05c0d5674e5d41490969e11ef5c79de8b (patch)
tree79fbb7dfd99e3f2ed25894d66f0da0239b0f5427 /src/LYCgi.c
parent310e655e2b1279d6c088497214e78e99e3fd6f74 (diff)
downloadlynx-snapshots-511bc0c05c0d5674e5d41490969e11ef5c79de8b.tar.gz
snapshot of project "lynx", label v2-8-8dev_3e
Diffstat (limited to 'src/LYCgi.c')
-rw-r--r--src/LYCgi.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/LYCgi.c b/src/LYCgi.c
index b9faca54..9409ae80 100644
--- a/src/LYCgi.c
+++ b/src/LYCgi.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYCgi.c,v 1.57 2010/04/29 23:42:23 tom Exp $
+ * $LynxId: LYCgi.c,v 1.58 2010/06/17 10:44:09 tom Exp $
  *                   Lynx CGI support                              LYCgi.c
  *                   ================
  *
@@ -371,6 +371,11 @@ static int LYLoadCGI(const char *arg,
 	int wstatus;
 #endif
 
+	fd1[0] = -1;
+	fd1[1] = -1;
+	fd2[0] = -1;
+	fd2[1] = -1;
+
 	if (anAnchor->isHEAD || keep_mime_headers) {
 
 	    /* Show output as plain text */