1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2024-12-23 17:33:50 +03:00

parser: Fix swapped arguments

This commit is contained in:
Nick Wellnhofer 2024-06-17 12:55:44 +02:00
parent 1ff484339e
commit d2fd9d37b0

View File

@ -2414,8 +2414,8 @@ xmlLoadResource(xmlParserCtxtPtr ctxt, const char *url, const char *publicId,
if ((ctxt->options & XML_PARSE_NONET) == 0)
flags |= XML_INPUT_NETWORK;
code = ctxt->resourceLoader(ctxt->resourceCtxt, url, publicId, flags,
type, &ret);
code = ctxt->resourceLoader(ctxt->resourceCtxt, url, publicId, type,
flags, &ret);
if (code != XML_ERR_OK) {
xmlCtxtErrIO(ctxt, code, url);
return(NULL);