summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/spoolss.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-03-05 14:03:03 +0100
committerGünther Deschner <gd@samba.org>2010-03-05 15:18:30 +0100
commitf385f4aeb0e74fc87a22927a23b2289a038af98d (patch)
treed1ed7477b0733d65078029a2e42b2d0c1774ec45 /source4/torture/rpc/spoolss.c
parentc5fb6551d92f50ee7b29d330b4458e8a4224be20 (diff)
downloadsamba-f385f4aeb0e74fc87a22927a23b2289a038af98d.tar.gz
samba-f385f4aeb0e74fc87a22927a23b2289a038af98d.tar.bz2
samba-f385f4aeb0e74fc87a22927a23b2289a038af98d.zip
s4-smbtorture: hand down printername to test_SetPrinterDataEx_matrix.
Guenther
Diffstat (limited to 'source4/torture/rpc/spoolss.c')
-rw-r--r--source4/torture/rpc/spoolss.c7
1 files changed, 4 insertions, 3 deletions
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;
}