summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-16 10:33:41 +0100
committerKarolin Seeger <kseeger@samba.org>2009-12-21 10:55:07 +0100
commitdf0d2bf0b1309bfe24dcf115766a1c31a19f4cff (patch)
tree326dbe438c225093c4328409db55370db59de292 /source4
parent1ff1ab8c1e86718ca70353b0a757db6258f8e5bb (diff)
downloadsamba-df0d2bf0b1309bfe24dcf115766a1c31a19f4cff.tar.gz
s4-smbtorture: fix smbtorture after setprinter IDL fixes.
Guenther (cherry picked from commit a9689bb755b4fd22a8c2b651aa90b2f74188edcb) (cherry picked from commit c79320978f3cdfb698fe7eb060d1678bdac01caa)
Diffstat (limited to 'source4')
-rw-r--r--source4/torture/rpc/spoolss.c8
1 files changed, 4 insertions, 4 deletions
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;
}
}