Pass level keyword down to cli_spoolss_getform()
authorTim Potter <tpot@samba.org>
Mon, 9 Sep 2002 04:42:01 +0000 (04:42 +0000)
committerTim Potter <tpot@samba.org>
Mon, 9 Sep 2002 04:42:01 +0000 (04:42 +0000)
source/python/py_spoolss_forms.c

index c216e00afe4319df6d9387219ef73d903f24bb18..ef9ed94533a52ffb04d128a5cc779fdf60c55bd0 100644 (file)
@@ -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(