mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-07-01 13:41:39 +03:00
Fix a couple of places where (f)printf parameters were broken
As reported by Thomas Jarosch <thomas.jarosch@intra2net.com>
This commit is contained in:
@ -356,15 +356,15 @@ libxslt_xsltRegisterExtModuleElement(PyObject *self ATTRIBUTE_UNUSED,
|
||||
PyObject *pyobj_element_f;
|
||||
PyObject *pyobj_precomp_f;
|
||||
|
||||
#ifdef DEBUG_EXTENSIONS
|
||||
printf("libxslt_xsltRegisterExtModuleElement called\n",
|
||||
name, ns_uri);
|
||||
#endif
|
||||
|
||||
if (!PyArg_ParseTuple(args, (char *)"szOO:registerExtModuleElement",
|
||||
&name, &ns_uri, &pyobj_precomp_f, &pyobj_element_f))
|
||||
return(NULL);
|
||||
|
||||
#ifdef DEBUG_EXTENSIONS
|
||||
printf("libxslt_xsltRegisterExtModuleElement called: %s %s\n",
|
||||
name, ns_uri);
|
||||
#endif
|
||||
|
||||
if ((name == NULL) || (pyobj_element_f == NULL) || (pyobj_precomp_f == NULL)) {
|
||||
py_retval = libxml_intWrap(-1);
|
||||
return(py_retval);
|
||||
|
Reference in New Issue
Block a user