summaryrefslogtreecommitdiff
path: root/source3/python
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-05-27 06:36:30 +0000
committerTim Potter <tpot@samba.org>2002-05-27 06:36:30 +0000
commitde4e9824bdfc28bd0c62b69db93d9b05065a0be1 (patch)
tree2a597ba8e1468b76acbfc16352944e181981374e /source3/python
parentc2f0e1638e3e8a0cd58054a562fc931b16651c8d (diff)
downloadsamba-de4e9824bdfc28bd0c62b69db93d9b05065a0be1.tar.gz
samba-de4e9824bdfc28bd0c62b69db93d9b05065a0be1.tar.bz2
samba-de4e9824bdfc28bd0c62b69db93d9b05065a0be1.zip
Use new version of open_pipe_creds() function.
(This used to be commit e4aff324c28bfc08e73b627a5c7941109a3c2c2f)
Diffstat (limited to 'source3/python')
-rw-r--r--source3/python/py_spoolss_ports.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/python/py_spoolss_ports.c b/source3/python/py_spoolss_ports.c
index 54ccf32fcc..f0bea5175d 100644
--- a/source3/python/py_spoolss_ports.c
+++ b/source3/python/py_spoolss_ports.c
@@ -44,8 +44,7 @@ PyObject *spoolss_enumports(PyObject *self, PyObject *args, PyObject *kw)
if (server[0] == '\\' && server[1] == '\\')
server += 2;
- if (!(cli = open_pipe_creds(
- server, creds, cli_spoolss_initialise, &errstr))) {
+ if (!(cli = open_pipe_creds(server, creds, PIPE_SPOOLSS, &errstr))) {
PyErr_SetString(spoolss_error, errstr);
free(errstr);
goto done;