diff options
author | William M. Brack <wbrack@src.gnome.org> | 2001-09-28 16:19:18 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2001-09-28 16:19:18 +0000 |
commit | 5e1cac1ac0c57643f494682e1bded0aa8b10b21f (patch) | |
tree | ad7c30bce8343b1a40b4e907a29c2b3d3f70657a /catalog.c | |
parent | 28faa56ef5b25409f559599ce30950ac8e9f8b72 (diff) | |
download | android_external_libxml2-5e1cac1ac0c57643f494682e1bded0aa8b10b21f.tar.gz android_external_libxml2-5e1cac1ac0c57643f494682e1bded0aa8b10b21f.tar.bz2 android_external_libxml2-5e1cac1ac0c57643f494682e1bded0aa8b10b21f.zip |
fixed catalog.c typo
Diffstat (limited to 'catalog.c')
-rw-r--r-- | catalog.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2447,12 +2447,12 @@ xmlCatalogAdd(const xmlChar *type, const xmlChar *orig, const xmlChar *replace) if (xmlDefaultXMLCatalogList != NULL) { res = xmlAddXMLCatalog(xmlDefaultXMLCatalogList, type, orig, replace); } else if (xmlDefaultCatalog != NULL) { - xmlCatalogEntryType typ; + xmlCatalogEntryType cattype; - typ = xmlGetSGMLCatalogEntryType(type); - if (type != XML_CATA_NONE) { + cattype = xmlGetSGMLCatalogEntryType(type); + if (cattype != XML_CATA_NONE) { xmlCatalogEntryPtr entry; - entry = xmlNewCatalogEntry(typ, orig, replace, + entry = xmlNewCatalogEntry(cattype, orig, replace, XML_CATA_PREFER_NONE); res = xmlHashAddEntry(xmlDefaultCatalog, orig, entry); } |