git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2f0e16
)
Use new version of open_pipe_creds() function.
author
Tim Potter
<tpot@samba.org>
Mon, 27 May 2002 06:36:30 +0000
(06:36 +0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 27 May 2002 06:36:30 +0000
(06:36 +0000)
(This used to be commit
e4aff324c28bfc08e73b627a5c7941109a3c2c2f
)
source3/python/py_spoolss_ports.c
patch
|
blob
|
history
diff --git
a/source3/python/py_spoolss_ports.c
b/source3/python/py_spoolss_ports.c
index 54ccf32fcc20a6c139aeb06299988da10d6596ff..f0bea5175d94412a9ab841b2284a7929bd991a92 100644
(file)
--- 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;