aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/mandocd.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2019-03-03 11:01:15 +0000
committerIngo Schwarze <schwarze@openbsd.org>2019-03-03 11:01:15 +0000
commitfcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76 (patch)
tree989d139c8ec02b2528cab9d5645f2f1c294c225d /mandocd.c
parentc3ae28ecece496b8f21d2fcf6abbf1f7ae9076f8 (diff)
downloadmandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.tar.gz
mandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.tar.zst
mandoc-fcbf62db4a9cb9f6fe8df047ee6ee41fee8dab76.zip
add forgotten mparse options to two rarely used programs
Diffstat (limited to 'mandocd.c')
-rw-r--r--mandocd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mandocd.c b/mandocd.c
index 77fd3d0d..b8b5570d 100644
--- a/mandocd.c
+++ b/mandocd.c
@@ -1,4 +1,4 @@
-/* $Id: mandocd.c,v 1.9 2018/12/30 00:49:55 schwarze Exp $ */
+/* $Id: mandocd.c,v 1.10 2019/03/03 11:01:15 schwarze Exp $ */
/*
* Copyright (c) 2017 Michael Stapelberg <stapelberg@debian.org>
* Copyright (c) 2017 Ingo Schwarze <schwarze@openbsd.org>
@@ -171,8 +171,8 @@ main(int argc, char *argv[])
errx(1, "file descriptor %s %s", argv[1], errstr);
mchars_alloc();
- parser = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1,
- MANDOC_OS_OTHER, defos);
+ parser = mparse_alloc(MPARSE_SO | MPARSE_UTF8 | MPARSE_LATIN1 |
+ MPARSE_VALIDATE, MANDOC_OS_OTHER, defos);
memset(&options, 0, sizeof(options));
switch (outtype) {