]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb: Use SMB2_0_INFO_FILE instead of a simple "1"
authorVolker Lendecke <vl@samba.org>
Tue, 1 Oct 2024 13:28:51 +0000 (15:28 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 12 Nov 2024 12:09:35 +0000 (12:09 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/libsmb/cli_smb2_fnum.c

index 91933c6efe983edcaf360043b65639d295b86784..95b4385bc9fd631578a20fb87df57186eeb55d0d 100644 (file)
@@ -2251,7 +2251,7 @@ static void cli_smb2_qpathinfo_opened(struct tevent_req *subreq)
                                               state->ev,
                                               state->cli,
                                               state->fnum,
-                                              1, /* in_info_type */
+                                              SMB2_0_INFO_FILE,
                                               state->level,
                                               state->max_rdata,
                                               NULL, /* in_input_buffer */