-/* $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 <kristaps@bsd.lv>
* Copyright (c) 2014 Ingo Schwarze <schwarze@usta.de>
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);