From 8eec6a4a82b09af170dc9777684bfbb3d7806a42 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 10 Jul 2019 12:49:20 +0000 Subject: in man.cgi(8), disable -O toc by default; requested by deraadt@ --- cgi.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cgi.c') 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' ? "" : "/", -- cgit