summaryrefslogtreecommitdiff
path: root/source4/torture/ldap
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 09:46:59 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:08:42 +0100
commit1bb0104070eb1188ed0256535907f2bed006a939 (patch)
tree03045677e90f6c206e12b4ef8b5d6efcc6df0a16 /source4/torture/ldap
parent24d31c0e81c2332a610bb94acb1227fb9690443a (diff)
downloadsamba-1bb0104070eb1188ed0256535907f2bed006a939.tar.gz
samba-1bb0104070eb1188ed0256535907f2bed006a939.tar.bz2
samba-1bb0104070eb1188ed0256535907f2bed006a939.zip
s4:cldap: s/private/private_data
metze
Diffstat (limited to 'source4/torture/ldap')
-rw-r--r--source4/torture/ldap/cldapbench.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/ldap/cldapbench.c b/source4/torture/ldap/cldapbench.c
index df2a5b0551..1fcfe5a050 100644
--- a/source4/torture/ldap/cldapbench.c
+++ b/source4/torture/ldap/cldapbench.c
@@ -33,7 +33,7 @@ struct bench_state {
static void request_handler(struct cldap_request *req)
{
struct cldap_netlogon io;
- struct bench_state *state = talloc_get_type(req->async.private, struct bench_state);
+ struct bench_state *state = talloc_get_type(req->async.private_data, struct bench_state);
NTSTATUS status;
TALLOC_CTX *tmp_ctx = talloc_new(NULL);
io.in.version = 6;
@@ -75,7 +75,7 @@ static bool bench_cldap(struct torture_context *tctx, const char *address)
struct cldap_request *req;
req = cldap_netlogon_send(cldap, &search);
- req->async.private = state;
+ req->async.private_data = state;
req->async.fn = request_handler;
num_sent++;
if (num_sent % 50 == 0) {