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:
parent
1ff484339e
commit
d2fd9d37b0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user