summaryrefslogtreecommitdiff
path: root/source4/libcli/composite
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-02-02 10:17:00 +0100
committerStefan Metzmacher <metze@samba.org>2009-02-02 13:08:51 +0100
commit0ac7792e022107c352f5464f52563c4e885272dd (patch)
tree4b7f14df254962c202b98bb8cb0fb87d06c6edd5 /source4/libcli/composite
parente5e0a064853ff5cd7f9bea0d9a6db8a0ae497635 (diff)
downloadsamba-0ac7792e022107c352f5464f52563c4e885272dd.tar.gz
samba-0ac7792e022107c352f5464f52563c4e885272dd.tar.bz2
samba-0ac7792e022107c352f5464f52563c4e885272dd.zip
s4:libcliraw: s/private/private_data
metze
Diffstat (limited to 'source4/libcli/composite')
-rw-r--r--source4/libcli/composite/composite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/composite/composite.c b/source4/libcli/composite/composite.c
index a6b1c68d1c..ab32175d00 100644
--- a/source4/libcli/composite/composite.c
+++ b/source4/libcli/composite/composite.c
@@ -86,7 +86,7 @@ _PUBLIC_ NTSTATUS composite_wait_free(struct composite_context *c)
this is used to allow for a composite function to complete without
going through any state transitions. When that happens the caller
has had no opportunity to fill in the async callback fields
- (ctx->async.fn and ctx->async.private) which means the usual way of
+ (ctx->async.fn and ctx->async.private_data) which means the usual way of
dealing with composite functions doesn't work. To cope with this,
we trigger a timer event that will happen then the event loop is
re-entered. This gives the caller a chance to setup the callback,
@@ -194,7 +194,7 @@ _PUBLIC_ void composite_continue_smb(struct composite_context *ctx,
{
if (composite_nomem(new_req, ctx)) return;
new_req->async.fn = continuation;
- new_req->async.private = private_data;
+ new_req->async.private_data = private_data;
}
_PUBLIC_ void composite_continue_smb2(struct composite_context *ctx,