]> granicus.if.org Git - libexpat/commitdiff
Pass externalEntityRefHandlerArg appropriately
authorJames Clark <jjc@jclark.com>
Fri, 27 Nov 1998 04:40:07 +0000 (04:40 +0000)
committerJames Clark <jjc@jclark.com>
Fri, 27 Nov 1998 04:40:07 +0000 (04:40 +0000)
expat/xmlparse/xmlparse.c

index e71bd727f582f751248adf14810267f0d3f1d8bf..ad6748d4c949cd5fd11d1c8a99deaabed514d44a 100755 (executable)
@@ -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);
          }