r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
[ab/samba.git/.git] / source4 / libcli / smb2 / write.c
index adf690c1b3c3e9259212e2b3322d6401a6854ecb..1edce3f773810f914fe677e6d7ecf98dfc0086c0 100644 (file)
@@ -32,7 +32,7 @@ struct smb2_request *smb2_write_send(struct smb2_tree *tree, struct smb2_write *
        NTSTATUS status;
        struct smb2_request *req;
 
-       req = smb2_request_init_tree(tree, SMB2_OP_WRITE, 0x30, io->in.data.length);
+       req = smb2_request_init_tree(tree, SMB2_OP_WRITE, 0x30, True, io->in.data.length);
        if (req == NULL) return NULL;
 
        status = smb2_push_o16s32_blob(&req->out, 0x02, io->in.data);