Print success in xml_parse() debug message
This commit is contained in:
parent
63d46cd6f1
commit
cdf3317965
1 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue