summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-08-21 12:57:59 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-08-21 12:57:59 +0000
commit6433954692abb5620ed4e554a2979ef4ecdc6871 (patch)
tree4bd6f2473e7df978ff92bae8d2b38692b1a994f6 /catalog.c
parentcda969218bdda1d3dd8d3c4417f3dc100d076024 (diff)
downloadlibxml2-6433954692abb5620ed4e554a2979ef4ecdc6871.tar.gz
fixed nextCatalog started adding a small regression test Daniel
* catalog.c: fixed nextCatalog * result/catalogs/docbook test/catalogs/*: started adding a small regression test Daniel
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/catalog.c b/catalog.c
index d645d887..21270d44 100644
--- a/catalog.c
+++ b/catalog.c
@@ -1018,7 +1018,9 @@ xmlCatalogXMLResolve(xmlCatalogEntryPtr catal, const xmlChar *pubID,
xmlFetchXMLCatalogFile(cur);
}
if (cur->children != NULL) {
- xmlCatalogListXMLResolve(cur->children, pubID, sysID);
+ ret = xmlCatalogListXMLResolve(cur->children, pubID, sysID);
+ if (ret != NULL)
+ return(ret);
}
}
cur = cur->next;