s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.
authorGünther Deschner <gd@samba.org>
Mon, 9 Feb 2009 14:15:46 +0000 (15:15 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 10 Feb 2009 22:57:30 +0000 (23:57 +0100)
Guenther

source4/torture/rpc/spoolss.c

index 7da3209eb3c63299c31ff19259ca721ee45f6872..3e72bdeb3457d9e90167978f2c258f3d14b0d9cd 100644 (file)
@@ -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,