summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-09 15:15:46 +0100
committerGünther Deschner <gd@samba.org>2009-02-10 23:57:30 +0100
commitc1dbcd4cf8adca907f4088b98998c85a07c1c6bc (patch)
tree12ab196b5997c6567162b213dd0fb0fefd4d468a
parentaee462893b0a215ef72ae413d48f58fd8584a9c1 (diff)
downloadsamba-c1dbcd4cf8adca907f4088b98998c85a07c1c6bc.tar.gz
samba-c1dbcd4cf8adca907f4088b98998c85a07c1c6bc.tar.bz2
samba-c1dbcd4cf8adca907f4088b98998c85a07c1c6bc.zip
s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.
Guenther
-rw-r--r--source4/torture/rpc/spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index 7da3209eb3..3e72bdeb34 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -1740,8 +1740,8 @@ static bool test_ReplyOpenPrinter(struct torture_context *tctx,
r.in.server_name = "earth";
r.in.printer_local = 2;
r.in.type = REG_DWORD;
- r.in.unknown1 = 0;
- r.in.unknown2 = 0;
+ r.in.bufsize = 0;
+ r.in.buffer = NULL;
r.out.handle = &h;
torture_assert_ntstatus_ok(tctx,