summaryrefslogtreecommitdiffstats
path: root/libmdocml.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2008-11-28 11:21:12 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2008-11-28 11:21:12 +0000
commitcc802a810a035a369db520aaa7cba82e0b3686a2 (patch)
tree0ba2827efb08e2d5cc8759b6c41cd05aab59ff52 /libmdocml.c
parent251cb31839ca20218450f57218e4d7935e6e0652 (diff)
downloadmandoc-cc802a810a035a369db520aaa7cba82e0b3686a2.tar.gz
Initial pushing to mbuf.
Diffstat (limited to 'libmdocml.c')
-rw-r--r--libmdocml.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libmdocml.c b/libmdocml.c
index c7920e23..95a0ba2b 100644
--- a/libmdocml.c
+++ b/libmdocml.c
@@ -141,7 +141,7 @@ md_run_leave(const struct md_args *args, struct md_mbuf *mbuf,
c = -1;
break;
default:
- if ( ! md_exit_dummy(data, -1 == c ? 0 : 1))
+ if ( ! md_exit_valid(data, -1 == c ? 0 : 1))
c = -1;
break;
}
@@ -173,7 +173,7 @@ md_run_enter(const struct md_args *args, struct md_mbuf *mbuf,
fp = md_line_html4_strict;
break;
default:
- fp = md_line_dummy;
+ fp = md_line_valid;
break;
}
@@ -244,7 +244,7 @@ md_run(const struct md_args *args,
(args, &mbuf, &rbuf);
break;
default:
- data = md_init_dummy
+ data = md_init_valid
(args, &mbuf, &rbuf);
break;
}