summaryrefslogtreecommitdiffstats
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-01-10 13:46:34 +0100
committerGünther Deschner <gd@samba.org>2014-01-16 16:22:52 +0100
commitc5e9956b4c5f4eb9a89704f44e9cb145bbea3cfd (patch)
treee1450ee483f5b536d9e26a3d22ebff31e5d002da /source4/torture
parent943e186b7a8fe82fdb80e87879dec29a990a99a2 (diff)
downloadsamba-c5e9956b4c5f4eb9a89704f44e9cb145bbea3cfd.tar.gz
samba-c5e9956b4c5f4eb9a89704f44e9cb145bbea3cfd.tar.xz
samba-c5e9956b4c5f4eb9a89704f44e9cb145bbea3cfd.zip
s4:torture/rpc: s/pipe/pipes/
pipe(2) is a system call. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/async_bind.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/async_bind.c b/source4/torture/rpc/async_bind.c
index 03ff058edb..d667a33b8a 100644
--- a/source4/torture/rpc/async_bind.c
+++ b/source4/torture/rpc/async_bind.c
@@ -41,7 +41,7 @@ bool torture_async_bind(struct torture_context *torture)
extern int torture_numasync;
struct composite_context **bind_req;
- struct dcerpc_pipe **pipe;
+ struct dcerpc_pipe **pipes;
const struct ndr_interface_table **table;
if (!torture_setting_bool(torture, "async", false)) {
@@ -57,8 +57,8 @@ bool torture_async_bind(struct torture_context *torture)
bind_req = talloc_array(torture, struct composite_context*, torture_numasync);
if (bind_req == NULL) return false;
- pipe = talloc_array(torture, struct dcerpc_pipe*, torture_numasync);
- if (pipe == NULL) return false;
+ pipes = talloc_array(torture, struct dcerpc_pipe*, torture_numasync);
+ if (pipes == NULL) return false;
table = talloc_array(torture, const struct ndr_interface_table*, torture_numasync);
if (table == NULL) return false;
@@ -74,7 +74,7 @@ bool torture_async_bind(struct torture_context *torture)
/* recv bind requests */
for (i = 0; i < torture_numasync; i++) {
- status = dcerpc_pipe_connect_recv(bind_req[i], mem_ctx, &pipe[i]);
+ status = dcerpc_pipe_connect_recv(bind_req[i], mem_ctx, &pipes[i]);
if (!NT_STATUS_IS_OK(status)) {
printf("async rpc connection failed: %s\n", nt_errstr(status));
return false;