summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-05-16 14:52:54 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:52:30 -0500
commit40cd2d778093d7799b27b6beb37166d8a53f965c (patch)
treedf28b80a71dd74da23820d3989e322bcba56c580 /source4/torture
parent3e5335063a15dda4c21baab0961d766f30b21d84 (diff)
downloadsamba-40cd2d778093d7799b27b6beb37166d8a53f965c.tar.gz
samba-40cd2d778093d7799b27b6beb37166d8a53f965c.tar.bz2
samba-40cd2d778093d7799b27b6beb37166d8a53f965c.zip
r22944: fix bug #4618:
rename private -> private_data metze (This used to be commit 58551f2f28fce8f1fcd04736c47ecd7458f32ea2)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/rpc/lsa.c4
-rw-r--r--source4/torture/rpc/netlogon.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/source4/torture/rpc/lsa.c b/source4/torture/rpc/lsa.c
index 1c2a9fd41d..b909c2082d 100644
--- a/source4/torture/rpc/lsa.c
+++ b/source4/torture/rpc/lsa.c
@@ -516,7 +516,7 @@ BOOL test_many_LookupSids(struct dcerpc_pipe *p,
static void lookupsids_cb(struct rpc_request *req)
{
- int *replies = (int *)req->async.private;
+ int *replies = (int *)req->async.private_data;
NTSTATUS status;
status = dcerpc_ndr_request_recv(req);
@@ -578,7 +578,7 @@ static BOOL test_LookupSids_async(struct dcerpc_pipe *p,
}
req[i]->async.callback = lookupsids_cb;
- req[i]->async.private = &replies;
+ req[i]->async.private_data = &replies;
}
while (replies >= 0 && replies < num_async_requests) {
diff --git a/source4/torture/rpc/netlogon.c b/source4/torture/rpc/netlogon.c
index 0e281c6736..7e8ef99bf6 100644
--- a/source4/torture/rpc/netlogon.c
+++ b/source4/torture/rpc/netlogon.c
@@ -1372,7 +1372,7 @@ static BOOL test_GetDomainInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
static void async_callback(struct rpc_request *req)
{
- int *counter = req->async.private;
+ int *counter = req->async.private_data;
if (NT_STATUS_IS_OK(req->status)) {
(*counter)++;
}
@@ -1431,7 +1431,7 @@ static BOOL test_GetDomainInfo_async(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
req[i] = dcerpc_netr_LogonGetDomainInfo_send(p, mem_ctx, &r);
req[i]->async.callback = async_callback;
- req[i]->async.private = async_counter;
+ req[i]->async.private_data = async_counter;
/* even with this flush per request a w2k3 server seems to
clag with multiple outstanding requests. bleergh. */