r14256: - rename smb_file -> smb_handle
[bbaumbach/samba-autobuild/.git] / source4 / libcli / smb2 / setinfo.c
index ce03a6948203dd6cc56535d9a32838df6ff2b290..c445880440cce43a947e06df6d5b111906ba4f29 100644 (file)
@@ -92,7 +92,7 @@ struct smb2_request *smb2_setinfo_file_send(struct smb2_tree *tree, union smb_se
 
        ZERO_STRUCT(b);
        b.in.level             = smb2_level;
-       b.in.handle            = io->generic.file.handle;
+       b.in.handle            = io->generic.in.file.handle;
        if (!smb_raw_setfileinfo_passthru(tree, io->generic.level, io, &b.in.blob)) {
                return NULL;
        }