From 414df4b9c4595e90aa65425817f49b47718528fb Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 Oct 2011 15:47:10 +0200 Subject: s3:smb2cli_base: make use of [_]smb_[set]len_tcp() metze Autobuild-User: Stefan Metzmacher Autobuild-Date: Tue Oct 25 19:30:43 CEST 2011 on sn-devel-104 --- source3/libsmb/smb2cli_base.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libsmb') diff --git a/source3/libsmb/smb2cli_base.c b/source3/libsmb/smb2cli_base.c index f5d3de0ac7..de4a06bd2d 100644 --- a/source3/libsmb/smb2cli_base.c +++ b/source3/libsmb/smb2cli_base.c @@ -324,7 +324,7 @@ NTSTATUS smb2cli_req_compound_submit(struct tevent_req **reqs, */ state = tevent_req_data(reqs[0], struct smb2cli_req_state); - _smb_setlen_large(state->nbt, nbt_len); + _smb_setlen_tcp(state->nbt, nbt_len); iov[0].iov_base = state->nbt; iov[0].iov_len = sizeof(state->nbt); @@ -411,7 +411,7 @@ static NTSTATUS smb2cli_inbuf_parse_compound(uint8_t *buf, TALLOC_CTX *mem_ctx, iov[0].iov_base = buf; iov[0].iov_len = 4; - buflen = smb_len_large(buf) + 4; + buflen = smb_len_tcp(buf) + 4; taken = 4; while (taken < buflen) { -- cgit