diff options
author | Luk Claes <luk@debian.org> | 2012-05-26 11:58:34 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2012-06-03 23:37:02 +0200 |
commit | aea996dba6d99d75b508628118c268f8f0619191 (patch) | |
tree | 9f3361c5c1082fcc6b06759d1e0911015c5614b0 /source3/libsmb/clireadwrite.c | |
parent | 9c80b91d8f793ad97736d8fb75566ca4d907e9cd (diff) | |
download | samba-aea996dba6d99d75b508628118c268f8f0619191.tar.gz samba-aea996dba6d99d75b508628118c268f8f0619191.tar.bz2 samba-aea996dba6d99d75b508628118c268f8f0619191.zip |
s3:libsmb: get rid of cli_smb_req_*,cli_smb_wct_ofs,cli_smb_chain_send
Signed-off-by: Luk Claes <luk@debian.org>
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Sun Jun 3 23:37:02 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/libsmb/clireadwrite.c')
-rw-r--r-- | source3/libsmb/clireadwrite.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/libsmb/clireadwrite.c b/source3/libsmb/clireadwrite.c index f2e1dbf0ac..b7ee7d5911 100644 --- a/source3/libsmb/clireadwrite.c +++ b/source3/libsmb/clireadwrite.c @@ -194,7 +194,7 @@ struct tevent_req *cli_read_andx_send(TALLOC_CTX *mem_ctx, return NULL; } - status = cli_smb_req_send(subreq); + status = smb1cli_req_chain_submit(&subreq, 1); if (tevent_req_nterror(req, status)) { return tevent_req_post(req, ev); } @@ -867,7 +867,7 @@ struct tevent_req *cli_write_andx_create(TALLOC_CTX *mem_ctx, SSVAL(vwv+10, 0, state->size); SSVAL(vwv+11, 0, - cli_smb_wct_ofs(reqs_before, num_reqs_before) + smb1cli_req_wct_ofs(reqs_before, num_reqs_before) + 1 /* the wct field */ + wct * 2 /* vwv */ + 2 /* num_bytes field */ @@ -908,7 +908,7 @@ struct tevent_req *cli_write_andx_send(TALLOC_CTX *mem_ctx, return NULL; } - status = cli_smb_req_send(subreq); + status = smb1cli_req_chain_submit(&subreq, 1); if (tevent_req_nterror(req, status)) { return tevent_req_post(req, ev); } |