diff options
author | Deryck Hodge <deryck@samba.org> | 2006-05-01 22:31:33 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:16:38 -0500 |
commit | aee979faaa45ee9b1f9ab20af3832d97fb74dcf2 (patch) | |
tree | a2de3e1538171ff1d678e1e264b70ea2ad8af6fd /source3/python/py_spoolss_printers.c | |
parent | 2bdbd3fa6dd351f393f4972578e382da73ebcc18 (diff) | |
download | samba-aee979faaa45ee9b1f9ab20af3832d97fb74dcf2.tar.gz samba-aee979faaa45ee9b1f9ab20af3832d97fb74dcf2.tar.bz2 samba-aee979faaa45ee9b1f9ab20af3832d97fb74dcf2.zip |
r15385: Some work to bring the python code up to date with the
rpc client rewrite.
(This used to be commit fd5bcecceb518d0683f400a61e11ce37f3d52d42)
Diffstat (limited to 'source3/python/py_spoolss_printers.c')
-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 50c19fcf04..25cd051f3c 100644 --- a/source3/python/py_spoolss_printers.c +++ b/source3/python/py_spoolss_printers.c @@ -69,7 +69,7 @@ PyObject *spoolss_openprinter(PyObject *self, PyObject *args, PyObject *kw) } werror = rpccli_spoolss_open_printer_ex( - cli, mem_ctx, unc_name, "", desired_access, server, + cli->pipe_list, mem_ctx, unc_name, "", desired_access, server, "", &hnd); if (!W_ERROR_IS_OK(werror)) { @@ -327,7 +327,7 @@ PyObject *spoolss_enumprinters(PyObject *self, PyObject *args, PyObject *kw) /* Call rpc function */ werror = rpccli_spoolss_enum_printers( - cli, mem_ctx, name, flags, level, &num_printers, &ctr); + cli->pipe_list, mem_ctx, name, flags, level, &num_printers, &ctr); if (!W_ERROR_IS_OK(werror)) { PyErr_SetObject(spoolss_werror, py_werror_tuple(werror)); @@ -448,7 +448,7 @@ PyObject *spoolss_addprinterex(PyObject *self, PyObject *args, PyObject *kw) ctr.printers_2 = &info2; - werror = rpccli_spoolss_addprinterex(cli, mem_ctx, 2, &ctr); + werror = rpccli_spoolss_addprinterex(cli->pipe_list, mem_ctx, 2, &ctr); Py_INCREF(Py_None); result = Py_None; |