summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-02-07 02:33:48 +0100
committerGünther Deschner <gd@samba.org>2009-02-07 10:20:56 +0100
commitb3b06a8b7b8765db85349a5dd14234f878978748 (patch)
tree7faa495d58bb92b0b5201d5c1b1e3c8b5ab119e4 /source4/torture/rpc
parent6a6eb90803dc47140fda1984e148a98f4bb898da (diff)
downloadsamba-b3b06a8b7b8765db85349a5dd14234f878978748.tar.gz
samba-b3b06a8b7b8765db85349a5dd14234f878978748.tar.bz2
samba-b3b06a8b7b8765db85349a5dd14234f878978748.zip
s4-smbtorture: fix test_EnumJobs in spoolss win test.
Guenther
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/spoolss_win.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/torture/rpc/spoolss_win.c b/source4/torture/rpc/spoolss_win.c
index ab5adefc1c..df0ab65f3a 100644
--- a/source4/torture/rpc/spoolss_win.c
+++ b/source4/torture/rpc/spoolss_win.c
@@ -260,6 +260,7 @@ static bool test_EnumJobs(struct torture_context *tctx,
NTSTATUS status;
struct spoolss_EnumJobs ej;
DATA_BLOB blob = data_blob_talloc_zero(tctx, 1024);
+ uint32_t needed;
torture_comment(tctx, "Test EnumJobs\n");
@@ -267,6 +268,7 @@ static bool test_EnumJobs(struct torture_context *tctx,
ej.in.level = 2;
ej.in.buffer = &blob;
ej.in.offered = 1024;
+ ej.out.needed = &needed;
status = dcerpc_spoolss_EnumJobs(p, tctx, &ej);
torture_assert_ntstatus_ok(tctx, status, "EnumJobs failed");