summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-12-16 10:33:41 +0100
committerGünther Deschner <gd@samba.org>2009-12-17 10:43:32 +0100
commita9689bb755b4fd22a8c2b651aa90b2f74188edcb (patch)
tree9e63c221f72b0995d77c52d997ee177949dfa98a /source4
parent31cf2b086a9275955b0480b4b9035dc12671761d (diff)
downloadsamba-a9689bb755b4fd22a8c2b651aa90b2f74188edcb.tar.gz
samba-a9689bb755b4fd22a8c2b651aa90b2f74188edcb.tar.bz2
samba-a9689bb755b4fd22a8c2b651aa90b2f74188edcb.zip
s4-smbtorture: fix smbtorture after setprinter IDL fixes.
Guenther
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 91364541d0..65bc3619ca 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;
}
}