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/smb2cli_query_info.c | |
parent | 4a3352020db962ef40728d8a754da8a9418ca8a7 (diff) | |
download | samba-44b53937d59842a63e2cbfa92219f4f519530b0a.tar.gz samba-44b53937d59842a63e2cbfa92219f4f519530b0a.tar.bz2 samba-44b53937d59842a63e2cbfa92219f4f519530b0a.zip |
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/smb2cli_query_info.c')
-rw-r--r-- | libcli/smb/smb2cli_query_info.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libcli/smb/smb2cli_query_info.c b/libcli/smb/smb2cli_query_info.c index 9ec16b5c99..454f25a135 100644 --- a/libcli/smb/smb2cli_query_info.c +++ b/libcli/smb/smb2cli_query_info.c @@ -96,7 +96,8 @@ struct tevent_req *smb2cli_query_info_send(TALLOC_CTX *mem_ctx, tcon, session, state->fixed, sizeof(state->fixed), - dyn, dyn_len); + dyn, dyn_len, + in_max_output_length); /* max_dyn_len */ if (tevent_req_nomem(subreq, req)) { return tevent_req_post(req, ev); } |