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 | 55f891016c005c1552f1c1d95dd067bbf9de8869 (patch) | |
tree | ea90493d8ed2192b943884b3eb36c48b3d76f7ea /source/python/py_spoolss_printers.c | |
parent | d6b10fe9691bfc96d5933c029990c60fd292bdc9 (diff) | |
download | samba-55f891016c005c1552f1c1d95dd067bbf9de8869.tar.gz samba-55f891016c005c1552f1c1d95dd067bbf9de8869.tar.xz samba-55f891016c005c1552f1c1d95dd067bbf9de8869.zip |
New arguments to cli_spoolss_enum_printers()
Diffstat (limited to 'source/python/py_spoolss_printers.c')
-rw-r--r-- | source/python/py_spoolss_printers.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/python/py_spoolss_printers.c b/source/python/py_spoolss_printers.c index 8d4cd24778c..2a6d056bbf2 100644 --- a/source/python/py_spoolss_printers.c +++ b/source/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)); |