Print success in xml_parse() debug message

This commit is contained in:
Reyk Floeter 2017-08-14 13:52:00 +02:00
parent 63d46cd6f1
commit cdf3317965

View file

@ -342,9 +342,10 @@ xml_parse(struct xml *env, const char *file)
ssize_t len;
if ((fd = open(file, O_RDONLY)) == -1) {
log_debug("%s: open %s", __func__, file);
log_debug("%s: failed to open %s", __func__, file);
return (-1);
}
} else
log_debug("%s: opened %s", __func__, file);
do {
if ((xml = XML_GetBuffer(parser, BUFSIZ)) == NULL)