s4:torture: don't use 'pipe' as variable name it's a system call
authorStefan Metzmacher <metze@samba.org>
Fri, 1 May 2009 16:20:53 +0000 (18:20 +0200)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 May 2009 13:27:16 +0000 (15:27 +0200)
metze

source4/torture/rpc/spoolss_notify.c

index a8a0ca5df63de26f97e4f1675ab339ef44f6e560..0bfd3be812af165222edd49b2262403d5e392e71 100644 (file)
@@ -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");