From ffcfea14b71eb3d68f78412e23636203c2d749e4 Mon Sep 17 00:00:00 2001 From: James Clark Date: Fri, 27 Nov 1998 04:40:07 +0000 Subject: [PATCH] Pass externalEntityRefHandlerArg appropriately --- expat/xmlparse/xmlparse.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/expat/xmlparse/xmlparse.c b/expat/xmlparse/xmlparse.c index e71bd727..ad6748d4 100755 --- a/expat/xmlparse/xmlparse.c +++ b/expat/xmlparse/xmlparse.c @@ -1104,7 +1104,11 @@ doContent(XML_Parser parser, entity->open = 0; if (!context) return XML_ERROR_NO_MEMORY; - if (!externalEntityRefHandler(parser, context, dtd.base, entity->systemId, entity->publicId)) + if (!externalEntityRefHandler(externalEntityRefHandlerArg, + context, + dtd.base, + entity->systemId, + entity->publicId)) return XML_ERROR_EXTERNAL_ENTITY_HANDLING; poolDiscard(&tempPool); } -- 2.40.0