summaryrefslogtreecommitdiff
path: root/catalog.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2001-10-11 22:55:55 +0000
committerDaniel Veillard <veillard@src.gnome.org>2001-10-11 22:55:55 +0000
commitb44025c72b7472971a061b022cfe422adc42715d (patch)
tree8286242ccaba46dbede84aa092cce816cbc1f5aa /catalog.c
parent75b96824bccaeadd9e71eba9be7fab1bd88ac814 (diff)
downloadlibxml2-b44025c72b7472971a061b022cfe422adc42715d.tar.gz
started integrating the non-controversial parts of Gary Pennington
* HTMLtree.c catalog.c debugXML.c entities.c nanoftp.c parser.c valid.c xmlmemory.c xpath.c xpointer.c: started integrating the non-controversial parts of Gary Pennington multithread patches * catalog.c: corrected a small bug introduced Daniel
Diffstat (limited to 'catalog.c')
-rw-r--r--catalog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/catalog.c b/catalog.c
index 1b7bd8da..ef8a0c72 100644
--- a/catalog.c
+++ b/catalog.c
@@ -2607,7 +2607,7 @@ xmlACatalogResolveURI(xmlCatalogPtr catal, const xmlChar *URI) {
if ((URI == NULL) || (catal == NULL))
return(NULL);
- if (catal->type == XML_XML_CATALOG_TYPE)
+ if (xmlDebugCatalogs)
xmlGenericError(xmlGenericErrorContext,
"Resolve URI %s\n", URI);
@@ -2734,7 +2734,7 @@ xmlInitializeCatalog(void) {
const char *catalogs;
xmlCatalogPtr catal;
- catalogs = getenv("XML_CATALOG_FILES");
+ catalogs = (const char *) getenv("XML_CATALOG_FILES");
if (catalogs == NULL)
catalogs = XML_XML_DEFAULT_CATALOG;