diff options
author | Stefan Metzmacher <metze@samba.org> | 2013-08-13 10:25:52 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-08-15 09:07:06 +0200 |
commit | 44b53937d59842a63e2cbfa92219f4f519530b0a (patch) | |
tree | 1df9a6f68350b724c5fa86d8eab01151466fac85 /libcli/smb/smbXcli_base.h | |
parent | 4a3352020db962ef40728d8a754da8a9418ca8a7 (diff) | |
download | samba-44b53937d59842a63e2cbfa92219f4f519530b0a.tar.gz |
libcli/smb: pass max_dyn_len to smb2cli_req_send()
This way we can calculate the correct credit charge
for requests with large output buffers.
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'libcli/smb/smbXcli_base.h')
-rw-r--r-- | libcli/smb/smbXcli_base.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcli/smb/smbXcli_base.h b/libcli/smb/smbXcli_base.h index 017c0f059d5..4ce39c0db14 100644 --- a/libcli/smb/smbXcli_base.h +++ b/libcli/smb/smbXcli_base.h @@ -242,7 +242,8 @@ struct tevent_req *smb2cli_req_send(TALLOC_CTX *mem_ctx, const uint8_t *fixed, uint16_t fixed_len, const uint8_t *dyn, - uint32_t dyn_len); + uint32_t dyn_len, + uint32_t max_dyn_len); NTSTATUS smb2cli_req_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, struct iovec **piov, const struct smb2cli_req_expected_response *expected, |