summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/spoolss.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/spoolss.c')
-rw-r--r--source4/torture/rpc/spoolss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c
index f0748fc7d9..db0f1bc1a9 100644
--- a/source4/torture/rpc/spoolss.c
+++ b/source4/torture/rpc/spoolss.c
@@ -177,7 +177,7 @@ static BOOL test_EnumForms(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
}
for (j = 0; j < r.out.count; j++)
- test_GetForm(p, mem_ctx, handle, info[j].info1.name);
+ test_GetForm(p, mem_ctx, handle, info[j].info1.formname);
}
if (!NT_STATUS_IS_OK(status) || !W_ERROR_IS_OK(r.out.result)) {
@@ -221,7 +221,7 @@ static BOOL test_AddForm(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
r.in.handle = handle;
r.in.level = 1;
form.flags = 2; /* User form */
- form.name = formname;
+ form.formname = formname;
form.width = 1;
form.length = 2;
form.left = 3;