diff options
author | Jeremy Allison <jra@samba.org> | 2006-08-23 22:33:50 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:38:47 -0500 |
commit | aee6b5942a3418b9d9a9a73fa33c21d5e4e18df8 (patch) | |
tree | 43ec6a3cd1b0a7c5664addc495e0975bd836a60b /source3/libsmb/libsmbclient.c | |
parent | fddeed8adba8004e4bb5678e07461382f6a5124b (diff) | |
download | samba-aee6b5942a3418b9d9a9a73fa33c21d5e4e18df8.tar.gz samba-aee6b5942a3418b9d9a9a73fa33c21d5e4e18df8.tar.xz samba-aee6b5942a3418b9d9a9a73fa33c21d5e4e18df8.zip |
r17761: Handle times consistently across all client utils.
Fixes bugs reported in libsmbclient.
Jeremy.
(This used to be commit 42a417fb75313b093948602c3be8e2f386048b5f)
Diffstat (limited to 'source3/libsmb/libsmbclient.c')
-rw-r--r-- | source3/libsmb/libsmbclient.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c index d9267e72bd8..abeb66b3733 100644 --- a/source3/libsmb/libsmbclient.c +++ b/source3/libsmb/libsmbclient.c @@ -1514,7 +1514,7 @@ smbc_getatr(SMBCCTX * context, if (!srv->no_pathinfo2 && cli_qpathinfo2(targetcli, targetpath, - c_time, a_time, m_time, NULL, size, mode, ino)) { + NULL, a_time, m_time, c_time, size, mode, ino)) { return True; } @@ -2182,7 +2182,7 @@ smbc_fstat_ctx(SMBCCTX *context, /*d_printf(">>>fstat: resolved path as %s\n", targetpath);*/ if (!cli_qfileinfo(targetcli, file->cli_fd, &mode, &size, - &c_time, &a_time, &m_time, NULL, &ino)) { + NULL, &a_time, &m_time, &c_time, &ino)) { if (!cli_getattrE(targetcli, file->cli_fd, &mode, &size, &c_time, &a_time, &m_time)) { |