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/torture | |
parent | fddeed8adba8004e4bb5678e07461382f6a5124b (diff) | |
download | samba-aee6b5942a3418b9d9a9a73fa33c21d5e4e18df8.tar.gz samba-aee6b5942a3418b9d9a9a73fa33c21d5e4e18df8.tar.bz2 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/torture')
-rw-r--r-- | source3/torture/torture.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/torture/torture.c b/source3/torture/torture.c index f951b44494..ba13897773 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -2539,8 +2539,8 @@ static BOOL run_trans2test(int dummy) fnum = cli_open(cli, fname, O_RDWR | O_CREAT | O_TRUNC, DENY_NONE); cli_close(cli, fnum); - if (!cli_qpathinfo2(cli, fname, &c_time, &a_time, &m_time, - &w_time, &size, NULL, NULL)) { + if (!cli_qpathinfo2(cli, fname, &c_time, &a_time, &w_time, + &m_time, &size, NULL, NULL)) { printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(cli)); correct = False; } else { @@ -2561,8 +2561,8 @@ static BOOL run_trans2test(int dummy) correct = False; } sleep(3); - if (!cli_qpathinfo2(cli, "\\trans2\\", &c_time, &a_time, &m_time, - &w_time, &size, NULL, NULL)) { + if (!cli_qpathinfo2(cli, "\\trans2\\", &c_time, &a_time, &w_time, + &m_time, &size, NULL, NULL)) { printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(cli)); correct = False; } @@ -2571,8 +2571,8 @@ static BOOL run_trans2test(int dummy) O_RDWR | O_CREAT | O_TRUNC, DENY_NONE); cli_write(cli, fnum, 0, (char *)&fnum, 0, sizeof(fnum)); cli_close(cli, fnum); - if (!cli_qpathinfo2(cli, "\\trans2\\", &c_time, &a_time, &m_time2, - &w_time, &size, NULL, NULL)) { + if (!cli_qpathinfo2(cli, "\\trans2\\", &c_time, &a_time, &w_time, + &m_time2, &size, NULL, NULL)) { printf("ERROR: qpathinfo2 failed (%s)\n", cli_errstr(cli)); correct = False; } else { |