summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-16 10:33:13 +0100
committerGünther Deschner <gd@samba.org>2009-12-17 10:43:31 +0100
commit31cf2b086a9275955b0480b4b9035dc12671761d (patch)
tree6c744ff09a222264e2ac3219c77a47d4ada1bb87 /source3
parentbe95cb6f8357334af08d1502910a429328b85bc5 (diff)
downloadsamba-31cf2b086a9275955b0480b4b9035dc12671761d.tar.gz
samba-31cf2b086a9275955b0480b4b9035dc12671761d.tar.bz2
samba-31cf2b086a9275955b0480b4b9035dc12671761d.zip
s3-spoolss: fix rpcclient after setprinter IDL fixes.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c
index 6101fc651d..deecbc5164 100644
--- a/source3/rpcclient/cmd_spoolss.c
+++ b/source3/rpcclient/cmd_spoolss.c
@@ -1676,8 +1676,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;