From ed59bcd1564904f6ab57883e191f819b724c3be3 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 9 Jul 2014 11:34:46 +0000 Subject: set a reasonable default for .Os --- cgi.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cgi.c b/cgi.c index 1fff03cb..6c82cd93 100644 --- a/cgi.c +++ b/cgi.c @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.55 2014/07/09 09:27:01 schwarze Exp $ */ +/* $Id: cgi.c,v 1.56 2014/07/09 11:34:46 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * Copyright (c) 2014 Ingo Schwarze @@ -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); -- cgit v1.2.3-56-ge451