summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/libcli/smb2/close.c2
-rw-r--r--source4/libcli/smb2/ioctl.c2
-rw-r--r--source4/libcli/smb2/read.c2
-rw-r--r--source4/libcli/smb2/session.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/source4/libcli/smb2/close.c b/source4/libcli/smb2/close.c
index c851d60be4..3e559fe893 100644
--- a/source4/libcli/smb2/close.c
+++ b/source4/libcli/smb2/close.c
@@ -36,7 +36,7 @@ struct smb2_request *smb2_close_send(struct smb2_tree *tree, struct smb2_close *
if (req == NULL) return NULL;
SSVAL(req->out.body, 0x02, io->in.flags);
- SIVAL(req->out.body, 0x04, io->in._pad);
+ SIVAL(req->out.body, 0x04, 0); /* pad */
smb2_push_handle(req->out.body+0x08, &io->in.handle);
smb2_transport_send(req);
diff --git a/source4/libcli/smb2/ioctl.c b/source4/libcli/smb2/ioctl.c
index 26f2bffbc1..37e07dbae1 100644
--- a/source4/libcli/smb2/ioctl.c
+++ b/source4/libcli/smb2/ioctl.c
@@ -37,7 +37,7 @@ struct smb2_request *smb2_ioctl_send(struct smb2_tree *tree, struct smb2_ioctl *
io->in.in.length+io->in.out.length);
if (req == NULL) return NULL;
- SSVAL(req->out.body, 0x02, io->in._pad);
+ SSVAL(req->out.body, 0x02, 0); /* pad */
SIVAL(req->out.body, 0x04, io->in.function);
smb2_push_handle(req->out.body+0x08, &io->in.handle);
diff --git a/source4/libcli/smb2/read.c b/source4/libcli/smb2/read.c
index f598a78cba..8709aa6ce2 100644
--- a/source4/libcli/smb2/read.c
+++ b/source4/libcli/smb2/read.c
@@ -35,7 +35,7 @@ struct smb2_request *smb2_read_send(struct smb2_tree *tree, struct smb2_read *io
req = smb2_request_init_tree(tree, SMB2_OP_READ, 0x31, 0);
if (req == NULL) return NULL;
- SSVAL(req->out.body, 0x02, io->in._pad);
+ SSVAL(req->out.body, 0x02, 0); /* pad */
SIVAL(req->out.body, 0x04, io->in.length);
SBVAL(req->out.body, 0x08, io->in.offset);
smb2_push_handle(req->out.body+0x10, &io->in.handle);
diff --git a/source4/libcli/smb2/session.c b/source4/libcli/smb2/session.c
index 12285d5536..07970747c4 100644
--- a/source4/libcli/smb2/session.c
+++ b/source4/libcli/smb2/session.c
@@ -73,7 +73,7 @@ struct smb2_request *smb2_session_setup_send(struct smb2_session *session,
if (req == NULL) return NULL;
SBVAL(req->out.hdr, SMB2_HDR_UID, session->uid);
- SSVAL(req->out.body, 0x02, io->in._pad);
+ SSVAL(req->out.body, 0x02, 0); /* pad */
SIVAL(req->out.body, 0x04, io->in.unknown2);
SIVAL(req->out.body, 0x08, io->in.unknown3);