diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-09-20 20:59:45 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-11-24 19:02:33 +0100 |
commit | 300343d16c2d7f1f10bbd3c5e484131bf8fa5dfc (patch) | |
tree | 2c3ab0ed111f30b928b998b0eca9fefea71378b4 /source4/libcli/smb_composite | |
parent | a210d9fa05d46ef2ec0dcdbf13e1fd83c93b6219 (diff) | |
download | samba-300343d16c2d7f1f10bbd3c5e484131bf8fa5dfc.tar.gz samba-300343d16c2d7f1f10bbd3c5e484131bf8fa5dfc.tar.bz2 samba-300343d16c2d7f1f10bbd3c5e484131bf8fa5dfc.zip |
s4:libcli/smb2: implement on top of smbXcli_conn/req
metze
Diffstat (limited to 'source4/libcli/smb_composite')
-rw-r--r-- | source4/libcli/smb_composite/smb2.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/smb_composite/smb2.c b/source4/libcli/smb_composite/smb2.c index 5c93869b5c..0fa51b2857 100644 --- a/source4/libcli/smb_composite/smb2.c +++ b/source4/libcli/smb_composite/smb2.c @@ -82,7 +82,7 @@ struct composite_context *smb2_composite_unlink_send(struct smb2_tree *tree, struct smb2_create create_parm; struct smb2_request *req; - ctx = composite_create(tree, tree->session->transport->socket->event.ctx); + ctx = composite_create(tree, tree->session->transport->ev); if (ctx == NULL) return NULL; /* check for wildcards - we could support these with a @@ -161,7 +161,7 @@ struct composite_context *smb2_composite_mkdir_send(struct smb2_tree *tree, struct smb2_create create_parm; struct smb2_request *req; - ctx = composite_create(tree, tree->session->transport->socket->event.ctx); + ctx = composite_create(tree, tree->session->transport->ev); if (ctx == NULL) return NULL; ZERO_STRUCT(create_parm); @@ -232,7 +232,7 @@ struct composite_context *smb2_composite_rmdir_send(struct smb2_tree *tree, struct smb2_create create_parm; struct smb2_request *req; - ctx = composite_create(tree, tree->session->transport->socket->event.ctx); + ctx = composite_create(tree, tree->session->transport->ev); if (ctx == NULL) return NULL; ZERO_STRUCT(create_parm); @@ -416,7 +416,7 @@ NTSTATUS smb2_composite_setpathinfo(struct smb2_tree *tree, union smb_setfileinf NTSTATUS status; bool ok; TALLOC_CTX *frame = talloc_stackframe(); - struct tevent_context *ev = tree->session->transport->socket->event.ctx; + struct tevent_context *ev = tree->session->transport->ev; if (frame == NULL) { return NT_STATUS_NO_MEMORY; |