summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/libsmbclient.c
diff options
context:
space:
mode:
authorDerrell Lipman <derrell@samba.org>2005-12-25 02:00:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:56 -0500
commit56b20b83971f94b0692f7e6685b352a76f14ef38 (patch)
tree0a08cfd8e5819ba72cfc6832473b3852447daa61 /source3/libsmb/libsmbclient.c
parent67706697c5d8302e0d05d179de90c219531db8c7 (diff)
downloadsamba-56b20b83971f94b0692f7e6685b352a76f14ef38.tar.gz
samba-56b20b83971f94b0692f7e6685b352a76f14ef38.tar.xz
samba-56b20b83971f94b0692f7e6685b352a76f14ef38.zip
r12466: r12028@cabra: derrell | 2005-12-24 20:25:38 -0500
parse dates correctly. w_time and m_time were reversed. (This used to be commit 481abfbab40209e087c82eadc15c3697eae0ae5b)
Diffstat (limited to 'source3/libsmb/libsmbclient.c')
-rw-r--r--source3/libsmb/libsmbclient.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/libsmb/libsmbclient.c b/source3/libsmb/libsmbclient.c
index 15210664b07..623977b39e7 100644
--- a/source3/libsmb/libsmbclient.c
+++ b/source3/libsmb/libsmbclient.c
@@ -1380,8 +1380,10 @@ static BOOL smbc_getatr(SMBCCTX * context, SMBCSRV *srv, char *path,
}
if (!srv->no_pathinfo2 &&
- cli_qpathinfo2(targetcli, targetpath, c_time, a_time, m_time, NULL,
- size, mode, ino)) return True;
+ cli_qpathinfo2(targetcli, targetpath,
+ c_time, a_time, m_time, NULL, size, mode, ino)) {
+ return True;
+ }
/* if this is NT then don't bother with the getatr */
if (targetcli->capabilities & CAP_NT_SMBS) {