=================================================================== RCS file: /cvs/mandoc/cgi.c,v retrieving revision 1.47 retrieving revision 1.49 diff -u -p -r1.47 -r1.49 --- mandoc/cgi.c 2014/01/05 20:41:04 1.47 +++ mandoc/cgi.c 2014/03/19 22:20:43 1.49 @@ -1,4 +1,4 @@ -/* $Id: cgi.c,v 1.47 2014/01/05 20:41:04 schwarze Exp $ */ +/* $Id: cgi.c,v 1.49 2014/03/19 22:20:43 schwarze Exp $ */ /* * Copyright (c) 2011, 2012 Kristaps Dzonsons * @@ -739,7 +739,7 @@ format(const struct req *req, const char *file) return; } - mp = mparse_alloc(MPARSE_AUTO, MANDOCLEVEL_FATAL, NULL, NULL, 0); + mp = mparse_alloc(MPARSE_SO, MANDOCLEVEL_FATAL, NULL, NULL); rc = mparse_readfd(mp, fd, file); close(fd); @@ -753,7 +753,7 @@ format(const struct req *req, const char *file) /*"includes=/cgi-bin/man.cgi/usr/include/%%I"*/, progname); - mparse_result(mp, &mdoc, &man); + mparse_result(mp, &mdoc, &man, NULL); if (NULL == man && NULL == mdoc) { resp_baddb(); mparse_free(mp);