summaryrefslogtreecommitdiff
path: root/ezxml.c
diff options
context:
space:
mode:
Diffstat (limited to 'ezxml.c')
-rw-r--r--ezxml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ezxml.c b/ezxml.c
index 4a063bc..0e32e20 100644
--- a/ezxml.c
+++ b/ezxml.c
@@ -7,6 +7,7 @@ int process(char *fn) {
ezxml_t ezdoc = ezxml_parse_file(fn);
if (!ezdoc) {
fprintf(stderr, "Error when parsing file '%s'.\n", fn);
+ return 1;
}
ezxml_t title = ezxml_get(ezdoc, "front", 0, "article-meta", 0, "title-group", 0, "article-title", -1);