diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-11-22 09:36:30 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-29 16:00:08 +0100 |
commit | b3d3395e01a015b440a84878c4d540dbaa437a32 (patch) | |
tree | cacebbfa1feaeb88fa8e724a0346c4bac0db7bc1 /source4/libcli/smb_composite | |
parent | 511dc9358d8954f9ef04c01fb7cc3f776625c1f2 (diff) | |
download | samba-b3d3395e01a015b440a84878c4d540dbaa437a32.tar.gz samba-b3d3395e01a015b440a84878c4d540dbaa437a32.tar.bz2 samba-b3d3395e01a015b440a84878c4d540dbaa437a32.zip |
s4:libcli/raw: add transport->ev as copy of transport->socket->event.ctx
We'll remove transport->socket soon, but removing transport->ev
will take a bit longer.
metze
Diffstat (limited to 'source4/libcli/smb_composite')
-rw-r--r-- | source4/libcli/smb_composite/appendacl.c | 2 | ||||
-rw-r--r-- | source4/libcli/smb_composite/loadfile.c | 2 | ||||
-rw-r--r-- | source4/libcli/smb_composite/savefile.c | 2 | ||||
-rw-r--r-- | source4/libcli/smb_composite/sesssetup.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/smb_composite/appendacl.c b/source4/libcli/smb_composite/appendacl.c index c1a964f151..792ea5a47e 100644 --- a/source4/libcli/smb_composite/appendacl.c +++ b/source4/libcli/smb_composite/appendacl.c @@ -247,7 +247,7 @@ struct composite_context *smb_composite_appendacl_send(struct smbcli_tree *tree, c->private_data = state; c->state = COMPOSITE_STATE_IN_PROGRESS; - c->event_ctx = tree->session->transport->socket->event.ctx; + c->event_ctx = tree->session->transport->ev; /* setup structures for opening file */ state->io_open = talloc_zero(c, union smb_open); diff --git a/source4/libcli/smb_composite/loadfile.c b/source4/libcli/smb_composite/loadfile.c index 994c29c77d..00456f18a4 100644 --- a/source4/libcli/smb_composite/loadfile.c +++ b/source4/libcli/smb_composite/loadfile.c @@ -229,7 +229,7 @@ struct composite_context *smb_composite_loadfile_send(struct smbcli_tree *tree, c->private_data = state; c->state = COMPOSITE_STATE_IN_PROGRESS; - c->event_ctx = tree->session->transport->socket->event.ctx; + c->event_ctx = tree->session->transport->ev; /* setup for the open */ state->io_open = talloc_zero(c, union smb_open); diff --git a/source4/libcli/smb_composite/savefile.c b/source4/libcli/smb_composite/savefile.c index 25a35c01a9..2f00443083 100644 --- a/source4/libcli/smb_composite/savefile.c +++ b/source4/libcli/smb_composite/savefile.c @@ -225,7 +225,7 @@ struct composite_context *smb_composite_savefile_send(struct smbcli_tree *tree, if (c == NULL) goto failed; c->state = COMPOSITE_STATE_IN_PROGRESS; - c->event_ctx = tree->session->transport->socket->event.ctx; + c->event_ctx = tree->session->transport->ev; state = talloc(c, struct savefile_state); if (state == NULL) goto failed; diff --git a/source4/libcli/smb_composite/sesssetup.c b/source4/libcli/smb_composite/sesssetup.c index 8b1571cc49..cafaacd8bb 100644 --- a/source4/libcli/smb_composite/sesssetup.c +++ b/source4/libcli/smb_composite/sesssetup.c @@ -548,7 +548,7 @@ struct composite_context *smb_composite_sesssetup_send(struct smbcli_session *se struct sesssetup_state *state; NTSTATUS status; - c = composite_create(session, session->transport->socket->event.ctx); + c = composite_create(session, session->transport->ev); if (c == NULL) return NULL; state = talloc_zero(c, struct sesssetup_state); |