summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvan Jegen <s.jegen@gmail.com>2016-09-15 19:47:41 +0200
committerSilvan Jegen <s.jegen@gmail.com>2016-09-15 19:47:41 +0200
commit79685650b31a919a3ebaa687d54c3d08e2087195 (patch)
tree97cf86e6b19f68cdb67824524c96cce50d154ef8
parent9a5d2c71d98fa0a0b2848bcd687f88289ab6dc37 (diff)
Don't print the section title
-rw-r--r--ezxml.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/ezxml.c b/ezxml.c
index b267b40..3b6094e 100644
--- a/ezxml.c
+++ b/ezxml.c
@@ -20,14 +20,6 @@ int process(char *fn) {
return 1;
}
- for (ezxml_t c = ezxml_child(body, "sec"); c; c = c->next) {
- ezxml_t t = ezxml_get(c, "title", -1);
- if (t) {
- printf("section-title: %s\n", t->txt);
- }
- }
-
- printf("\n");
return 0;
}