From: Günther Deschner Date: Wed, 16 Dec 2009 09:33:41 +0000 (+0100) Subject: s4-smbtorture: fix smbtorture after setprinter IDL fixes. X-Git-Tag: samba-4.0.0alpha11~557 X-Git-Url: http://git.samba.org/samba.git/?p=ira%2Fwip.git;a=commitdiff_plain;h=a9689bb755b4fd22a8c2b651aa90b2f74188edcb s4-smbtorture: fix smbtorture after setprinter IDL fixes. Guenther --- diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 91364541d0c..65bc3619caf 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -953,8 +953,8 @@ static bool test_SetPrinter_errors(struct torture_context *tctx, struct spoolss_SetPrinterInfo5 info5; struct spoolss_SetPrinterInfo6 info6; struct spoolss_SetPrinterInfo7 info7; - struct spoolss_DeviceModeInfo info8; - struct spoolss_DeviceModeInfo info9; + struct spoolss_SetPrinterInfo8 info8; + struct spoolss_SetPrinterInfo9 info9; info_ctr.level = levels[i]; @@ -1075,8 +1075,8 @@ static bool test_SetPrinter_errors(struct torture_context *tctx, static void clear_info2(struct spoolss_SetPrinterInfoCtr *r) { if ((r->level == 2) && (r->info.info2)) { - r->info.info2->secdesc = NULL; - r->info.info2->devmode = NULL; + r->info.info2->secdesc_ptr = 0; + r->info.info2->devmode_ptr = 0; } }