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>2018-03-05 22:52:26 +0000
committerThomas E. Dickey <dickey@invisible-island.net>2018-03-05 22:52:26 +0000
commit9b7b3896381522f1b70c8e7d803db8103cccd7a1 (patch)
tree4ba8face05ba92aa301627ee2f1709494b7f4fad /src/LYCgi.c
parent2c91be6158b3242e323e3c52fd585d0658cbf4be (diff)
downloadlynx-snapshots-9b7b3896381522f1b70c8e7d803db8103cccd7a1.tar.gz
snapshot of project "lynx", label v2-8-9dev_16o
Diffstat (limited to 'src/LYCgi.c')
-rw-r--r--src/LYCgi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/LYCgi.c b/src/LYCgi.c
index f4c2bdec..d6c01372 100644
--- a/src/LYCgi.c
+++ b/src/LYCgi.c
@@ -1,5 +1,5 @@
 /*
- * $LynxId: LYCgi.c,v 1.70 2016/11/24 16:38:22 tom Exp $
+ * $LynxId: LYCgi.c,v 1.71 2018/03/05 22:36:09 tom Exp $
  *                   Lynx CGI support                              LYCgi.c
  *                   ================
  *
@@ -670,7 +670,7 @@ static int LYLoadCGI(const char *arg,
 		execve(argv[0], argv, env);
 		exec_errno = errno;
 		PERROR("execve failed");
-		printf("Content-Type: text/plain\r\n\r\n");
+		printf("Content-Type: " STR_PLAINTEXT "\r\n\r\n");
 		if (!anAnchor->isHEAD) {
 		    printf("exec of %s failed", pgm);
 		    printf(": %s.\r\n", LYStrerror(exec_errno));