mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
The file descriptor argument to cli_getattrE() is a fnum not a fd.
(This used to be commit f172b6f1d0
)
This commit is contained in:
parent
a6a935d937
commit
4282138ebb
@ -494,7 +494,7 @@ NTSTATUS cli_unlock64(struct cli_tree *tree, int fnum, SMB_OFF_T offset,
|
||||
/****************************************************************************
|
||||
Do a SMBgetattrE call.
|
||||
****************************************************************************/
|
||||
NTSTATUS cli_getattrE(struct cli_tree *tree, int fd,
|
||||
NTSTATUS cli_getattrE(struct cli_tree *tree, int fnum,
|
||||
uint16 *attr, size_t *size,
|
||||
time_t *c_time, time_t *a_time, time_t *m_time)
|
||||
{
|
||||
@ -502,7 +502,7 @@ NTSTATUS cli_getattrE(struct cli_tree *tree, int fd,
|
||||
NTSTATUS status;
|
||||
|
||||
parms.getattre.level = RAW_FILEINFO_GETATTRE;
|
||||
parms.getattre.in.fnum = fd;
|
||||
parms.getattre.in.fnum = fnum;
|
||||
|
||||
status = smb_raw_fileinfo(tree, NULL, &parms);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user