From f385f4aeb0e74fc87a22927a23b2289a038af98d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 5 Mar 2010 14:03:03 +0100 Subject: s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix. Guenther --- source4/torture/rpc/spoolss.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source4/torture') diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index 2e3e374ed7..1bf77c93cb 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -3261,7 +3261,8 @@ static bool test_SetPrinterDataEx(struct torture_context *tctx, static bool test_SetPrinterDataEx_matrix(struct torture_context *tctx, struct dcerpc_pipe *p, - struct policy_handle *handle) + struct policy_handle *handle, + const char *printername) { const char *value_name = "dog"; const char *keys[] = { @@ -3796,7 +3797,7 @@ static bool test_OpenPrinterEx(struct torture_context *tctx, ret = false; } - if (!test_SetPrinterDataEx_matrix(tctx, p, &handle)) { + if (!test_SetPrinterDataEx_matrix(tctx, p, &handle, name)) { ret = false; } @@ -4575,7 +4576,7 @@ static bool test_one_printer(struct torture_context *tctx, ret = false; } - if (!test_SetPrinterDataEx_matrix(tctx, p, handle)) { + if (!test_SetPrinterDataEx_matrix(tctx, p, handle, name)) { ret = false; } -- cgit