From 3207188287ccb712c49e9678d04e0e41eecfc8f0 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 1 May 2009 18:20:53 +0200 Subject: s4:torture: don't use 'pipe' as variable name it's a system call metze --- source4/torture/rpc/spoolss_notify.c | 6 +++--- 1 file 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"); -- cgit