git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a8e6be
)
s3-spoolss: fix rpcclient after setprinter IDL fixes.
author
Günther Deschner
<gd@samba.org>
Wed, 16 Dec 2009 09:33:13 +0000
(10:33 +0100)
committer
Karolin Seeger
<kseeger@samba.org>
Thu, 6 May 2010 12:08:40 +0000
(14:08 +0200)
Guenther
(cherry picked from commit
31cf2b086a9275955b0480b4b9035dc12671761d
)
(cherry picked from commit
99b9698c5e3be282f4300143032deacc493b93e0
)
source3/rpcclient/cmd_spoolss.c
patch
|
blob
|
history
diff --git
a/source3/rpcclient/cmd_spoolss.c
b/source3/rpcclient/cmd_spoolss.c
index 181f0b56604e950045077270665d4ef24c7bed7b..d704e6ec60f0747272c403857d613ed3acbac7ce 100644
(file)
--- a/
source3/rpcclient/cmd_spoolss.c
+++ b/
source3/rpcclient/cmd_spoolss.c
@@
-1702,8
+1702,8
@@
static WERROR cmd_spoolss_addprinterex(struct rpc_pipe_client *cli,
info2.comment = "Created by rpcclient";
info2.printprocessor = "winprint";
info2.datatype = "RAW";
- info2.devmode
= NULL
;
- info2.secdesc
= NULL
;
+ info2.devmode
_ptr = 0
;
+ info2.secdesc
_ptr = 0
;
info2.attributes = PRINTER_ATTRIBUTE_SHARED;
info2.priority = 0;
info2.defaultpriority = 0;