s3-spoolss: fix rpcclient after setprinter IDL fixes.
authorGünther Deschner <gd@samba.org>
Wed, 16 Dec 2009 09:33:13 +0000 (10:33 +0100)
committerKarolin 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

index 181f0b56604e950045077270665d4ef24c7bed7b..d704e6ec60f0747272c403857d613ed3acbac7ce 100644 (file)
@@ -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;