summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc')
-rw-r--r--source4/torture/rpc/atsvc.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/rpc/atsvc.c b/source4/torture/rpc/atsvc.c
index b0d1d1519d..25ace8ac49 100644
--- a/source4/torture/rpc/atsvc.c
+++ b/source4/torture/rpc/atsvc.c
@@ -27,9 +27,14 @@ static bool test_JobGetInfo(struct dcerpc_pipe *p, struct torture_context *tctx,
{
NTSTATUS status;
struct atsvc_JobGetInfo r;
+ struct atsvc_JobInfo *info = talloc(tctx, struct atsvc_JobInfo);
+ if (!info) {
+ return false;
+ }
r.in.servername = dcerpc_server_name(p);
r.in.job_id = job_id;
+ r.out.job_info = &info;
status = dcerpc_atsvc_JobGetInfo(p, tctx, &r);