summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-08-15 20:47:52 +1000
committerAndrew Bartlett <abartlet@samba.org>2008-08-15 20:47:52 +1000
commitf1df6744f1df1c012fbe57d83fcdfd3060a683c3 (patch)
treef007f39c87320d71bfe27928422003a6d7a56d69 /source4/torture
parentac503b140d6d69b6341be2e80ba535d7cfc7a73d (diff)
parent4bdb752cc51c9f41859f1a43bf5721ae616fa230 (diff)
downloadsamba-f1df6744f1df1c012fbe57d83fcdfd3060a683c3.tar.gz
samba-f1df6744f1df1c012fbe57d83fcdfd3060a683c3.tar.bz2
samba-f1df6744f1df1c012fbe57d83fcdfd3060a683c3.zip
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit 3731f7eaea6e5ed89d24e383dae0531cb58d77dc)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/atsvc.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source4/torture/rpc/atsvc.c b/source4/torture/rpc/atsvc.c
index 25ace8ac49..23d76ae502 100644
--- a/source4/torture/rpc/atsvc.c
+++ b/source4/torture/rpc/atsvc.c
@@ -65,7 +65,8 @@ static bool test_JobEnum(struct torture_context *tctx, struct dcerpc_pipe *p)
NTSTATUS status;
struct atsvc_JobEnum r;
struct atsvc_enum_ctr ctr;
- uint32_t resume_handle = 0, i;
+ uint32_t resume_handle = 0, i, total_entries = 0;
+
bool ret = true;
r.in.servername = dcerpc_server_name(p);
@@ -74,6 +75,7 @@ static bool test_JobEnum(struct torture_context *tctx, struct dcerpc_pipe *p)
r.in.ctr = r.out.ctr = &ctr;
r.in.preferred_max_len = 0xffffffff;
r.in.resume_handle = r.out.resume_handle = &resume_handle;
+ r.out.total_entries = &total_entries;
status = dcerpc_atsvc_JobEnum(p, tctx, &r);