aboutsummaryrefslogtreecommitdiffstatshomepage
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
commit589c83d3597ba6229a69bda10630710c515d2508 (patch)
treed76cff283351ed43c37fad14a6a4d1845ba0961e /cgi.c
parent5d0b51d68553f12bd04881577d603cb15e12d798 (diff)
downloadmandoc-589c83d3597ba6229a69bda10630710c515d2508.tar.gz
mandoc-589c83d3597ba6229a69bda10630710c515d2508.tar.zst
mandoc-589c83d3597ba6229a69bda10630710c515d2508.zip
in man.cgi(8), disable -O toc by default; requested by deraadt@
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cgi.c b/cgi.c
index 0af0f125..4762f819 100644
--- a/cgi.c
+++ b/cgi.c
@@ -1,4 +1,4 @@
-/* $Id: cgi.c,v 1.166 2019/03/06 12:32:41 schwarze Exp $ */
+/* $Id: cgi.c,v 1.167 2019/07/10 12:49:20 schwarze Exp $ */
/*
* Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv>
* Copyright (c) 2014, 2015, 2016, 2017, 2018 Ingo Schwarze <schwarze@usta.de>
@@ -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' ? "" : "/",