summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-01 18:20:53 +0200
committerStefan Metzmacher <metze@samba.org>2009-09-18 20:34:39 +0200
commit3207188287ccb712c49e9678d04e0e41eecfc8f0 (patch)
treed42c52bc6262bac00850405bac40e2d778cb2668
parent16f1ba2558b103c0edb394b11caaafa9893022aa (diff)
downloadsamba-3207188287ccb712c49e9678d04e0e41eecfc8f0.tar.gz
samba-3207188287ccb712c49e9678d04e0e41eecfc8f0.tar.bz2
samba-3207188287ccb712c49e9678d04e0e41eecfc8f0.zip
s4:torture: don't use 'pipe' as variable name it's a system call
metze
-rw-r--r--source4/torture/rpc/spoolss_notify.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/spoolss_notify.c b/source4/torture/rpc/spoolss_notify.c
index a8a0ca5df6..0bfd3be812 100644
--- a/source4/torture/rpc/spoolss_notify.c
+++ b/source4/torture/rpc/spoolss_notify.c
@@ -293,7 +293,7 @@ static bool test_RFFPCNEx(struct torture_context *tctx,
* on Samba 4 will cause an irpc broadcast call.
*/
static bool test_ReplyOpenPrinter(struct torture_context *tctx,
- struct dcerpc_pipe *pipe)
+ struct dcerpc_pipe *p)
{
struct spoolss_ReplyOpenPrinter r;
struct spoolss_ReplyClosePrinter s;
@@ -307,7 +307,7 @@ static bool test_ReplyOpenPrinter(struct torture_context *tctx,
r.out.handle = &h;
torture_assert_ntstatus_ok(tctx,
- dcerpc_spoolss_ReplyOpenPrinter(pipe, tctx, &r),
+ dcerpc_spoolss_ReplyOpenPrinter(p, tctx, &r),
"spoolss_ReplyOpenPrinter call failed");
torture_assert_werr_ok(tctx, r.out.result, "error return code");
@@ -316,7 +316,7 @@ static bool test_ReplyOpenPrinter(struct torture_context *tctx,
s.out.handle = &h;
torture_assert_ntstatus_ok(tctx,
- dcerpc_spoolss_ReplyClosePrinter(pipe, tctx, &s),
+ dcerpc_spoolss_ReplyClosePrinter(p, tctx, &s),
"spoolss_ReplyClosePrinter call failed");
torture_assert_werr_ok(tctx, r.out.result, "error return code");