summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clifile.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/libsmb/clifile.c b/source3/libsmb/clifile.c
index 5304f5d8cf..90ca98d17e 100644
--- a/source3/libsmb/clifile.c
+++ b/source3/libsmb/clifile.c
@@ -1103,15 +1103,15 @@ BOOL cli_getattrE(struct cli_state *cli, int fd,
}
if (c_time) {
- *c_time = make_unix_date3(cli->inbuf+smb_vwv0);
+ *c_time = make_unix_date2(cli->inbuf+smb_vwv0);
}
if (a_time) {
- *a_time = make_unix_date3(cli->inbuf+smb_vwv2);
+ *a_time = make_unix_date2(cli->inbuf+smb_vwv2);
}
if (m_time) {
- *m_time = make_unix_date3(cli->inbuf+smb_vwv4);
+ *m_time = make_unix_date2(cli->inbuf+smb_vwv4);
}
return True;
@@ -1186,9 +1186,9 @@ BOOL cli_setattrE(struct cli_state *cli, int fd,
cli_setup_packet(cli);
SSVAL(cli->outbuf,smb_vwv0, fd);
- put_dos_date3(cli->outbuf,smb_vwv1, c_time);
- put_dos_date3(cli->outbuf,smb_vwv3, a_time);
- put_dos_date3(cli->outbuf,smb_vwv5, m_time);
+ put_dos_date2(cli->outbuf,smb_vwv1, c_time);
+ put_dos_date2(cli->outbuf,smb_vwv3, a_time);
+ put_dos_date2(cli->outbuf,smb_vwv5, m_time);
p = smb_buf(cli->outbuf);
*p++ = 4;