From 3d10abbb60f8d748b4078c41dab8bc709f0bf524 Mon Sep 17 00:00:00 2001 From: James Clark Date: Fri, 20 Nov 1998 04:05:24 +0000 Subject: [PATCH] Fix bug in namespace support --- expat/xmltok/xmltok_ns.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/expat/xmltok/xmltok_ns.c b/expat/xmltok/xmltok_ns.c index 6accf12d..435ad780 100755 --- a/expat/xmltok/xmltok_ns.c +++ b/expat/xmltok/xmltok_ns.c @@ -30,14 +30,14 @@ static int NS(initScanProlog)(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) { - return NS(initScan)(NS(encodings), (const INIT_ENCODING *)enc, XML_PROLOG_STATE, ptr, end, nextTokPtr); + return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_PROLOG_STATE, ptr, end, nextTokPtr); } static int NS(initScanContent)(const ENCODING *enc, const char *ptr, const char *end, const char **nextTokPtr) { - return NS(initScan)(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, ptr, end, nextTokPtr); + return initScan(NS(encodings), (const INIT_ENCODING *)enc, XML_CONTENT_STATE, ptr, end, nextTokPtr); } int NS(XmlInitEncoding)(INIT_ENCODING *p, const ENCODING **encPtr, const char *name)