From: Günther Deschner Date: Wed, 16 Dec 2009 09:33:13 +0000 (+0100) Subject: s3-spoolss: fix rpcclient after setprinter IDL fixes. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=99b9698c5e3be282f4300143032deacc493b93e0;p=thirdparty%2Fsamba.git s3-spoolss: fix rpcclient after setprinter IDL fixes. Guenther (cherry picked from commit 31cf2b086a9275955b0480b4b9035dc12671761d) --- diff --git a/source3/rpcclient/cmd_spoolss.c b/source3/rpcclient/cmd_spoolss.c index 181f0b56604..d704e6ec60f 100644 --- 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;