summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-02-21 11:23:51 +0000
committerTim Potter <tpot@samba.org>2004-02-21 11:23:51 +0000
commit4282138ebbf2b2f708903cdfe713786a8c3e6960 (patch)
tree9c4222b41a942757b8e73d9a20b51b542533271e /source4/libcli
parenta6a935d937495e83652d70fef57badf27537428d (diff)
downloadsamba-4282138ebbf2b2f708903cdfe713786a8c3e6960.tar.gz
samba-4282138ebbf2b2f708903cdfe713786a8c3e6960.tar.bz2
samba-4282138ebbf2b2f708903cdfe713786a8c3e6960.zip
The file descriptor argument to cli_getattrE() is a fnum not a fd.
(This used to be commit f172b6f1d08b7de040cde4a7d88708e5af29a3a4)
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/clifile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/clifile.c b/source4/libcli/clifile.c
index 5432834522..d1dd0b4ff2 100644
--- a/source4/libcli/clifile.c
+++ b/source4/libcli/clifile.c
@@ -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);