aboutsummaryrefslogtreecommitdiffstats
path: root/local.c
diff options
context:
space:
mode:
authorFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 09:34:14 +0000
committerFumitoshi UKAI <ukai@debian.or.jp>2001-11-29 09:34:14 +0000
commitc33cdfcd56cf8bc964bb0e82684fedc7f532d259 (patch)
tree4696c5ee6f959dfbe0b7da9bf58e4c23c27cd584 /local.c
parent[w3m-dev 02579] Use environment variables CC, CFLAGS, LDFLAGS (diff)
downloadw3m-c33cdfcd56cf8bc964bb0e82684fedc7f532d259.tar.gz
w3m-c33cdfcd56cf8bc964bb0e82684fedc7f532d259.zip
[w3m-dev 02584] code cleanup again
From: Fumitoshi UKAI <ukai@debian.or.jp>
Diffstat (limited to 'local.c')
-rw-r--r--local.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/local.c b/local.c
index 7e39b77..c646ca7 100644
--- a/local.c
+++ b/local.c
@@ -1,4 +1,4 @@
-/* $Id: local.c,v 1.9 2001/11/24 02:01:26 ukai Exp $ */
+/* $Id: local.c,v 1.10 2001/11/29 09:34:14 ukai Exp $ */
#include "fm.h"
#include <string.h>
#include <stdio.h>
@@ -47,7 +47,7 @@ dirBuffer(char *dname)
struct stat lst;
char lbuf[1024];
#endif /* HAVE_READLINK */
- int i, l, nrow, n = 0, maxlen = 0;
+ int i, l, nrow = 0, n = 0, maxlen = 0;
int nfile, nfile_max = 100;
Str dirname;
Buffer *buf;
@@ -256,7 +256,7 @@ set_environ(char *var, char *value)
static void
set_cgi_environ(char *name, char *fn, char *req_uri)
{
- set_environ("SERVER_SOFTWARE", version);
+ set_environ("SERVER_SOFTWARE", w3m_version);
set_environ("SERVER_PROTOCOL", "HTTP/1.0");
set_environ("SERVER_NAME", "localhost");
set_environ("SERVER_PORT", "80"); /* dummy */