diff options
author | Andrew Tridgell <tridge@samba.org> | 2005-12-02 03:17:40 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:46:58 -0500 |
commit | fd7fd22e462ef6cf46e3f63e12ffcd684ea20244 (patch) | |
tree | d6339bbd0d56aa6e14af05e3cdca2e049f2455ee /source4/libcli/smb2/ioctl.c | |
parent | 8dfec3305cc1babeb5d822dc806c0f5dede7da46 (diff) | |
download | samba-fd7fd22e462ef6cf46e3f63e12ffcd684ea20244.tar.gz samba-fd7fd22e462ef6cf46e3f63e12ffcd684ea20244.tar.xz samba-fd7fd22e462ef6cf46e3f63e12ffcd684ea20244.zip |
r12006: don't require callers to fill in pad bytes in SMB2 calls
(This used to be commit 6935765fda99a6efb19f6f72358d4d48fc35ad5e)
Diffstat (limited to 'source4/libcli/smb2/ioctl.c')
-rw-r--r-- | source4/libcli/smb2/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libcli/smb2/ioctl.c b/source4/libcli/smb2/ioctl.c index 26f2bffbc1f..37e07dbae19 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); |