From c1dbcd4cf8adca907f4088b98998c85a07c1c6bc Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 9 Feb 2009 15:15:46 +0100 Subject: s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter. Guenther --- source4/torture/rpc/spoolss.c | 4 ++-- 1 file 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, -- cgit