summaryrefslogtreecommitdiff
path: root/source4/smb_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-05-19 13:32:17 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:08:07 -0500
commita3cc3c9c1fe908ee927d30314e9a2595e30cd615 (patch)
tree80f97917ea820c6a9284affe5da00bbbc59bd7a6 /source4/smb_server
parente48fd4e7108d3c358bdce7d6b9e9160e39c98180 (diff)
downloadsamba-a3cc3c9c1fe908ee927d30314e9a2595e30cd615.tar.gz
samba-a3cc3c9c1fe908ee927d30314e9a2595e30cd615.tar.bz2
samba-a3cc3c9c1fe908ee927d30314e9a2595e30cd615.zip
r15708: setup count is 8bit and param_count and data_count are 32bit
metze (This used to be commit 6bc89b422ccdfca6d383b8474452d57b55dfaed6)
Diffstat (limited to 'source4/smb_server')
-rw-r--r--source4/smb_server/smb/nttrans.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smb_server/smb/nttrans.c b/source4/smb_server/smb/nttrans.c
index 0ac9c005c7..516aa526a1 100644
--- a/source4/smb_server/smb/nttrans.c
+++ b/source4/smb_server/smb/nttrans.c
@@ -42,8 +42,8 @@ struct nttrans_op {
/* setup a nttrans reply, given the data and params sizes */
static NTSTATUS nttrans_setup_reply(struct nttrans_op *op,
struct smb_nttrans *trans,
- uint16_t param_size, uint16_t data_size,
- uint16_t setup_count)
+ uint32_t param_size, uint32_t data_size,
+ uint8_t setup_count)
{
trans->out.setup_count = setup_count;
if (setup_count != 0) {