summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-07-10 12:49:20 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-07-10 12:49:20 +0000
commit8eec6a4a82b09af170dc9777684bfbb3d7806a42 (patch)
tree72aa6005d1db6854ca2a254bec7706d0c66e81d5 /cgi.c
parent26c7c5dd927fffc4317aa04adfc7b5b1518ef2db (diff)
downloadmandoc-8eec6a4a82b09af170dc9777684bfbb3d7806a42.tar.gz
in man.cgi(8), disable -O toc by default; requested by deraadt@
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index e2967689..44de8bcf 100644
--- a/cgi.c
+++ b/cgi.c
@@ -869,7 +869,6 @@ resp_format(const struct req *req, const char *file)
memset(&conf, 0, sizeof(conf));
conf.fragment = 1;
conf.style = mandoc_strdup(CSS_DIR "/mandoc.css");
- conf.toc = 1;
usepath = strcmp(req->q.manpath, req->p[0]);
mandoc_asprintf(&conf.man, "/%s%s%s%s%%N.%%S",
scriptname, *scriptname == '\0' ? "" : "/",