diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2001-10-11 22:55:55 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2001-10-11 22:55:55 +0000 |
commit | b44025c72b7472971a061b022cfe422adc42715d (patch) | |
tree | 8286242ccaba46dbede84aa092cce816cbc1f5aa /catalog.c | |
parent | 75b96824bccaeadd9e71eba9be7fab1bd88ac814 (diff) | |
download | libxml2-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |