summaryrefslogtreecommitdiff
path: root/libcli/smb/smb2cli_query_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'libcli/smb/smb2cli_query_info.c')
-rw-r--r--libcli/smb/smb2cli_query_info.c3
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);
}