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);
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);
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);
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);