From b3b06a8b7b8765db85349a5dd14234f878978748 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 7 Feb 2009 02:33:48 +0100 Subject: s4-smbtorture: fix test_EnumJobs in spoolss win test. Guenther --- source4/torture/rpc/spoolss_win.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') 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"); -- cgit