diff options
author | Tim Potter <tpot@samba.org> | 2002-08-27 00:41:06 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-08-27 00:41:06 +0000 |
commit | b1037bffcf07ee6d4b978faf6906e276d09c06d2 (patch) | |
tree | 0c2a61ca22b2c2a3aa064db725d8aff2f9487015 /source3/python | |
parent | 83c598588017c2d0d71ab44cb3f319d11a7f600e (diff) | |
download | samba-b1037bffcf07ee6d4b978faf6906e276d09c06d2.tar.gz samba-b1037bffcf07ee6d4b978faf6906e276d09c06d2.tar.bz2 samba-b1037bffcf07ee6d4b978faf6906e276d09c06d2.zip |
New arguments to cli_spoolss_enum_printers()
(This used to be commit 55f891016c005c1552f1c1d95dd067bbf9de8869)
Diffstat (limited to 'source3/python')
-rw-r--r-- | source3/python/py_spoolss_printers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/python/py_spoolss_printers.c b/source3/python/py_spoolss_printers.c index 8d4cd24778..2a6d056bbf 100644 --- a/source3/python/py_spoolss_printers.c +++ b/source3/python/py_spoolss_printers.c @@ -337,13 +337,13 @@ PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw) /* Call rpc function */ werror = cli_spoolss_enum_printers( - cli, mem_ctx, 0, &needed, flags, level, + cli, mem_ctx, 0, &needed, name, flags, level, &num_printers, &ctr); if (W_ERROR_V(werror) == ERRinsufficientbuffer) werror = cli_spoolss_enum_printers( - cli, mem_ctx, needed, NULL, flags, level, - &num_printers, &ctr); + cli, mem_ctx, needed, NULL, name, flags, + level, &num_printers, &ctr); if (!W_ERROR_IS_OK(werror)) { PyErr_SetObject(spoolss_werror, py_werror_tuple(werror)); |