summaryrefslogtreecommitdiff
path: root/source3/python/py_spoolss_forms.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/python/py_spoolss_forms.c')
-rw-r--r--source3/python/py_spoolss_forms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/python/py_spoolss_forms.c b/source3/python/py_spoolss_forms.c
index c216e00afe..ef9ed94533 100644
--- a/source3/python/py_spoolss_forms.c
+++ b/source3/python/py_spoolss_forms.c
@@ -102,7 +102,7 @@ PyObject *spoolss_hnd_getform(PyObject *self, PyObject *args, PyObject *kw)
/* Call rpc function */
werror = cli_spoolss_getform(hnd->cli, hnd->mem_ctx, 0, &needed,
- &hnd->pol, form_name, 1, &form);
+ &hnd->pol, form_name, level, &form);
if (W_ERROR_V(werror) == ERRinsufficientbuffer)
werror = cli_spoolss_getform(