diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/python/py_spoolss_printers.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c index 4294df5a6d..8d4cd24778 100644 --- a/source3/python/py_spoolss_printers.c +++ b/source3/python/py_spoolss_printers.c @@ -337,12 +337,12 @@ PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw) /* Call rpc function */ werror = cli_spoolss_enum_printers( - cli, mem_ctx, 0, &needed, name, flags, level, + cli, mem_ctx, 0, &needed, flags, level, &num_printers, &ctr); if (W_ERROR_V(werror) == ERRinsufficientbuffer) werror = cli_spoolss_enum_printers( - cli, mem_ctx, needed, NULL, name, flags, level, + cli, mem_ctx, needed, NULL, flags, level, &num_printers, &ctr); if (!W_ERROR_IS_OK(werror)) { |