diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-07-10 12:48:09 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-07-10 12:48:09 +0000 |
commit | dffd98945fe716db00cc11ea62e4cd450ff8e41a (patch) | |
tree | 02a07b620ffcb6c8f688d8f8b00e6248ae977e98 /usr.bin | |
parent | cd2b3c17b2416b67d8d9d19c05df10f439883dad (diff) |
in man.cgi(8), disable -O toc by default; requested by deraadt@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/cgi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/mandoc/cgi.c b/usr.bin/mandoc/cgi.c index c0d98a8eeef..257d5ad659c 100644 --- a/usr.bin/mandoc/cgi.c +++ b/usr.bin/mandoc/cgi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cgi.c,v 1.104 2019/03/06 12:32:10 schwarze Exp $ */ +/* $OpenBSD: cgi.c,v 1.105 2019/07/10 12:48:08 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2014, 2015, 2016, 2017, 2018 Ingo Schwarze <schwarze@usta.de> @@ -865,7 +865,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' ? "" : "/", |