summaryrefslogtreecommitdiffstats
path: root/cgi.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2014-03-19 22:05:10 +0000
committerIngo Schwarze <schwarze@openbsd.org>2014-03-19 22:05:10 +0000
commitcd337f65ece6ac4cd6eb91fcbd5a7a970956eb3f (patch)
tree5ca8a9bf48f24d010ce28fb82bbce7e430209d62 /cgi.c
parent8ab1f57b8dbe6a9799dafa1181cae85b1e51b101 (diff)
downloadmandoc-cd337f65ece6ac4cd6eb91fcbd5a7a970956eb3f.tar.gz
cope with mparse_alloc() interface change
Diffstat (limited to 'cgi.c')
-rw-r--r--cgi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cgi.c b/cgi.c
index 6b33976a..7255ce9c 100644
--- a/cgi.c
+++ b/cgi.c
@@ -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);