1
0
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:
Daniel Veillard
2013-01-30 17:31:37 +01:00
parent eb193589a1
commit 90e8b9066d
2 changed files with 6 additions and 6 deletions

View File

@ -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);