summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-07-09 11:34:46 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-07-09 11:34:46 +0000
commitacab50732fb7057448d3539e67c0082267a40193 (patch)
tree5854fffee7f2352fca12f89249a39ae5f98d8262 /cgi.c
parent48b1f615ccd6f22e18e6caa0135684dc84559119 (diff)
downloadmandoc-acab50732fb7057448d3539e67c0082267a40193.tar.gz
set a reasonable default for .Os
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 9457fe83..29baaa92 100644
--- a/cgi.c
+++ b/cgi.c
@@ -683,7 +683,8 @@ format(const struct req *req, const char *file)
return;
}
- mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL, NULL);
+ mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL,
+ req->q.manroot);
rc = mparse_readfd(mp, fd, file);
close(fd);