r15532: add a BOOL body_dynamic_present, because the body_dynamic_size can be 0
[ab/samba.git/.git] / source4 / libcli / smb2 / read.c
index da2d3bb7c93b936e8aba1ce296caedae9f4d95f4..82e9b13280f87cc6534d085c3aadb5da2a670415 100644 (file)
@@ -31,7 +31,7 @@ struct smb2_request *smb2_read_send(struct smb2_tree *tree, struct smb2_read *io
 {
        struct smb2_request *req;
 
-       req = smb2_request_init_tree(tree, SMB2_OP_READ, 0x31, 0);
+       req = smb2_request_init_tree(tree, SMB2_OP_READ, 0x31, False, 0);
        if (req == NULL) return NULL;
 
        SSVAL(req->out.body, 0x02, 0); /* pad */