diff options
-rw-r--r-- | ezxml.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |