aboutsummaryrefslogtreecommitdiffstats
path: root/catalog.c
diff options
context:
space:
mode:
authorWilliam M. Brack <wbrack@src.gnome.org>2001-09-28 16:19:18 +0000
committerWilliam M. Brack <wbrack@src.gnome.org>2001-09-28 16:19:18 +0000
commit5e1cac1ac0c57643f494682e1bded0aa8b10b21f (patch)
treead7c30bce8343b1a40b4e907a29c2b3d3f70657a /catalog.c
parent28faa56ef5b25409f559599ce30950ac8e9f8b72 (diff)
downloadandroid_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.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/catalog.c b/catalog.c
index 2d537061..d7f69040 100644
--- a/catalog.c
+++ b/catalog.c
@@ -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);
}