summaryrefslogtreecommitdiffstats
path: root/source3/smbd/reply.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-08-10 15:07:53 -0700
committerJeremy Allison <jra@samba.org>2009-08-10 15:07:53 -0700
commitc9dca82ed7757f4745edf6ee6048bd94d86c4dbc (patch)
tree39022ef781029f7de9e9948f644e071f11347e3b /source3/smbd/reply.c
parent303e49b2f1d3cc437c399fb8d59b8eb60e86f86c (diff)
downloadsamba-c9dca82ed7757f4745edf6ee6048bd94d86c4dbc.tar.gz
samba-c9dca82ed7757f4745edf6ee6048bd94d86c4dbc.tar.xz
samba-c9dca82ed7757f4745edf6ee6048bd94d86c4dbc.zip
Refactor the use of create_time and change time to go
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy.
Diffstat (limited to 'source3/smbd/reply.c')
-rw-r--r--source3/smbd/reply.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/reply.c b/source3/smbd/reply.c
index 3498109f12d..de187e902bf 100644
--- a/source3/smbd/reply.c
+++ b/source3/smbd/reply.c
@@ -7793,7 +7793,7 @@ void reply_getattrE(struct smb_request *req)
reply_outbuf(req, 11, 0);
- create_ts = sbuf.st_ex_btime;
+ create_ts = get_create_timespec(fsp, fsp->fsp_name);
srv_put_dos_date2((char *)req->outbuf, smb_vwv0, create_ts.tv_sec);
srv_put_dos_date2((char *)req->outbuf, smb_vwv2,
convert_timespec_to_time_t(sbuf.st_ex_atime));